技术宅,fat-man

增加语言的了解程度可以避免写出愚蠢的代码

导航

2014年9月30日 #

设置菜单和工具条

摘要: 代码:可任选一套方法进行显示和隐藏,如果决定有动画的那套,那么一开始初始化时就必须用set方法进行控制-(void) setBar{ UIBarButtonItem *addButton = [[UIBarButtonItem alloc] initWithBarButtonSystemIte... 阅读全文

posted @ 2014-09-30 18:09 codestyle 阅读(170) 评论(0) 推荐(0) 编辑

视图切换的几种方法

摘要: 代码:-(void)touchesEnded:(NSSet *)touches withEvent:(UIEvent *)event{ //切换方法1 //动画效果:左右滑动 //必须有导航器视图才能切换 [self.navigationController pushView... 阅读全文

posted @ 2014-09-30 13:58 codestyle 阅读(1132) 评论(0) 推荐(0) 编辑