jinxiansen / jhud Goto Github PK
View Code? Open in Web Editor NEWA full screen of the HUD when loading the data (Objective-C).
License: MIT License
A full screen of the HUD when loading the data (Objective-C).
License: MIT License
文字为空时,circle建议垂直居中,目前不是垂直居中。
您好,我有個疑問
當我螢幕打橫時卻發生這樣的問題
不曉得是不是我寫錯了什麼?(附上代碼)
@property (nonatomic, strong) JHUD *hudView;
- (void)viewDidLoad
{
[super viewDidLoad];
[self showHUD];
_hudView = [[JHUD alloc]initWithFrame:self.view.bounds];
_hudView.messageLabel.text = @"hello ,this is a circle animation";
}
-(void)showHUD {
[_hudView showAtView:self.view hudType:JHUDLoadingTypeDot];
}
有时只是想显示自定义的动画,却发现下面有一块视图,不知道是做什么用的,
//[self configureBaseInfo];
-(void)configureBaseInfo
{
self.backgroundColor = [UIColor groupTableViewBackgroundColor];
self.indicatorViewSize = CGSizeMake(100, 100);
}
把这个注释掉//[self configureBaseInfo];,发现达到了自己想要的效果。在添加文字,也是可以正常显示的,那么问题来了,这个是做啥很么用的,注释掉会有什么影响没
横竖屏切换后,没有自动适配
我在一个 navigationController 放 JHUD,当我 pop 回去的时候,就发现内存泄露了
2016-08-04 23:18:38.458 CBWEmptyViewDemo[913:20546] Memory Leak: (
TestViewController,
UIView,
JHUD
)
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.