Chinaunix首页 | 论坛 | 博客
  • 博客访问: 2600201
  • 博文数量: 877
  • 博客积分: 0
  • 博客等级: 民兵
  • 技术积分: 5920
  • 用 户 组: 普通用户
  • 注册时间: 2013-12-05 12:25
个人简介

技术的乐趣在于分享,欢迎多多交流,多多沟通。

文章分类

全部博文(877)

文章存档

2021年(2)

2016年(20)

2015年(471)

2014年(358)

2013年(26)

发布时间:2015-10-26 16:00:08

http://blog.csdn.net/huifeidexin_1/article/details/85867621.在AppDelegate中添加如下代码:  (1)  self.window.rootViewController = self.iNavController;   (2)//    [self.window addSubview:self.iNavController.view];在iOS6.0 中只能使用(1).........【阅读全文】

阅读(908) | 评论(0) | 转发(0)

发布时间:2015-10-26 14:49:46

self.interfaceOrientation或[[U.........【阅读全文】

阅读(883) | 评论(0) | 转发(0)

发布时间:2015-10-26 14:40:12

UIViewController两个系统函数,但在iOS8上被放弃了,主要是实现:屏幕旋转时,子VIew布局位置的更改,这里区分一下:- (void)willAnimateRotationToInterfaceOrientation:(UIInterfaceOrientation)toInterfaceOrientation duration:(NSTimeInterval)duration这函数是被放在屏幕旋转动画的 Animation-Bl.........【阅读全文】

阅读(649) | 评论(0) | 转发(0)

发布时间:2015-10-25 15:34:28

定义一个新的CustomView继承自UIView,在Xib文件的View里面设置其Custom Class为 CustomView.m 然后 初始化    CustomView *customView = [[[NSBundle mainBundle] loadNibNamed:@"CustomView" owner:self options:nil] lastObject];//    CustomView *customView = [CustomView sh.........【阅读全文】

阅读(613) | 评论(0) | 转发(0)

发布时间:2015-10-25 12:04:51

http://www.cfanz.cn/index.php?c=article&a=read&id=231611 Attempt to present on whose view is not in the window hierarchy!    在开发的时候,有时候会遇到    1.ios attempt to present whose view is not in the window hierarchy    2.Warning: Attempt to presen.........【阅读全文】

阅读(985) | 评论(0) | 转发(0)
给主人留下些什么吧!~~
留言热议
请登录后留言。

登录 注册