码迷,mamicode.com
首页 >  
搜索关键字:navigationcontroller    ( 445个结果
iOS中修改导航栏高度
有时候需要修改导航栏的高度,可以这样修改:         UINavigationBar *bar = [self.navigationController navigationBar];     CGFloat navBarHeight = 30.0f;     CGRect rect = CGRectMake(0, 20, self.window.frame.size...
分类:移动开发   时间:2015-06-09 17:34:55    阅读次数:129
iOS半路来电话iOS6以后会对Textfailed有影响
出现的情况: 系统iOS6以后,添加在NavigationController上的ViewController上面的TextFailed,当输入几个字的时候,这个时候来电话,接完电话,或者挂掉电话的时候,发现之前的textFailed换行了,或者点击一下出现了神器的效果。解决方案:self.nav....
分类:移动开发   时间:2015-06-09 13:23:53    阅读次数:100
ios开发——实用技术篇Swift篇&地址薄、短信、邮件
1 //返回按钮事件 2 @IBAction func backButtonClick() 3 { 4 self.navigationController?.popViewControllerAnimated(true) 5 } 6 ...
分类:移动开发   时间:2015-06-07 23:27:29    阅读次数:300
iOS开发——UI篇Swift篇&UIWebView
UIWebView 1 //返回按钮事件 2 @IBAction func backButtonClick() 3 { 4 self.navigationController?.popViewControllerAnimated(true) 5 ...
分类:移动开发   时间:2015-06-07 23:24:15    阅读次数:153
iOS开发——UI篇Swift篇&UIScrollView
UIScrollView 1 //返回按钮事件 2 @IBAction func backButtonClick() 3 { 4 self.navigationController?.popViewControllerAnimated(true) 5...
分类:移动开发   时间:2015-06-07 23:14:37    阅读次数:279
ios开发——实用技术篇Swift篇&加速计和陀螺仪
加速计和陀螺仪 1 //返回按钮事件 2 @IBAction func backButtonClick() 3 { 4 self.navigationController?.popViewControllerAnimated(true) 5 ...
分类:移动开发   时间:2015-06-07 23:08:29    阅读次数:211
iOS开发——UI篇Swift篇&UIDatePicker
UIDatePicker 1 //返回按钮事件 2 @IBAction func backButtonClick() 3 { 4 self.navigationController?.popViewControllerAnimated(true) 5 ...
分类:移动开发   时间:2015-06-07 23:01:49    阅读次数:251
iOS开发——UI篇Swift篇&UIPickerView
UIPickerView 1 //返回按钮事件 2 @IBAction func backButtonClick() 3 { 4 self.navigationController?.popViewControllerAnimated(true) 5...
分类:移动开发   时间:2015-06-07 22:56:44    阅读次数:148
pushViewController
1.用UINavigationController的时候用pushViewController:animated----返回之前的视图[[self navigationController] popViewControllerAnimated:YES];---ps:push以后会在navigatio...
分类:其他好文   时间:2015-06-06 18:00:02    阅读次数:90
猫猫学iOS 之微博项目实战(2)微博主框架-自定义导航控制器NavigationController
猫猫分享,必须精品原创文章,欢迎转载。转载请注明:翟乃玉的博客 地址:http://blog.csdn.net/u013357243?viewmode=contents一:添加导航控制器上一篇博客完成了对底部的TabBar的设置,这一章我们完成自定义导航控制器(NYNavigationController)。为啥要做自定义呢,因为为了更好地封装代码,并且系统的UINavigationControl...
分类:移动开发   时间:2015-06-06 09:08:02    阅读次数:229
445条   上一页 1 ... 27 28 29 30 31 ... 45 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!