摘要:
先来看一下 UIBarItem 的 title 的描述The title displayed on the item.You should set this property before adding the item to a bar. The default value is nil.它的默认值为nil,你应该在把 item 添加到 bar 上前设置好它。我们都知道,当我们 push 一个 viewController 后,返回 item 上的 title 正是上一个 viewController 的title;而且当 viewController 的 title 改变时,item 的 阅读全文
posted @ 2014-03-10 17:24
有妄想症的猫zz
阅读(9365)
评论(0)
推荐(0)
摘要:
先是 html 文件内容// index.html John : This is out Rich Text Editing View 加载 html 文件- (void)viewDidLoad{ [super viewDidLoad]; // Do any additional setup after loading the view, typically from a nib. NSBundle *mainBundle = [NSBundle mainBundle]; NSUR... 阅读全文
posted @ 2014-03-04 16:21
有妄想症的猫zz
阅读(23837)
评论(1)
推荐(0)
摘要:
如 AlertView,当 show 一个 Alert 时,它会覆盖在 Keyboard 上面,不影响显示的效果。那么我们自己创建的 View 如何像 Alert 那样不被键盘盖住呢?很简单,拿到 Application 的 最上面一个 window,把 View 加到这个 window 上,就可以了。UIWindow *window = [[[UIApplication sharedApplication] windows] lastObject];[window addSubview:view];Stack Overflow 阅读全文
posted @ 2014-03-03 13:33
有妄想症的猫zz
阅读(3670)
评论(0)
推荐(0)
摘要:
http://wonderffee.github.io/blog/2013/10/13/understand-anchorpoint-and-position/ 阅读全文
posted @ 2014-03-01 21:58
有妄想症的猫zz
阅读(291)
评论(0)
推荐(0)
浙公网安备 33010602011771号