摘要:
1、调用[self setNeedsStatusBarAppearanceUpdate];2、重载以下函数- (BOOL)prefersStatusBarHidden{ return _hideStatusBar;} 阅读全文
摘要:
This is a very important change in iOS 7: the status bar is no longer a separate bar. It’s now something that simply gets drawn on top of your view co... 阅读全文
摘要:
Automatic Reference Counting (ARC) 阅读全文
摘要:
AutoLayout思想Design-By-IntentYou just describe what you want and let Auto Layout figure out how to deliver it.AutoLayout公式A = B*m + c代码的方式添加Constraints... 阅读全文
摘要:
sudo vi /etc/paths来编辑 paths,将环境变量添加到 paths 中。vim 是一个编辑器,另外还有几个,如:Pico,Emacs。 阅读全文
摘要:
CocoaPods安装和使用教程Code4App 原创文章。转载请注明出处:http://code4app.com/article/cocoapods-install-usage目录CocoaPods是什么?如何下载和安装CocoaPods?如何使用CocoaPods?场景1:利用CocoaPods... 阅读全文
摘要:
Try this way....As per Apple Document, ImagePicker Controller never Rotate in Landscape mode. You have to use in Potrait Mode only.For disable Landsca... 阅读全文
摘要:
setBackgroundImage 会根据button的大小平铺setImage不会平铺 阅读全文
摘要:
UITableViewis a subclass ofUIScrollView, andUITableViewDelegateconforms toUIScrollViewDelegate. So the delegate you attach to the table view will get ... 阅读全文
摘要:
系统的NavigationBar局限太大,而且现在我要做的navigationBar需要四个按钮,一个Label,一个ImageView,所以不能用系统默认的。 刚刚咨询了一个高手,她的建议是,将系统的NavigationBar隐去,但是还是用navigationCntroller去导航,然后... 阅读全文