![](https://img-blog.csdnimg.cn/20201014180756925.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
IOS学习笔记
文章平均质量分 80
jasonhejunyi
这个作者很懒,什么都没留下…
展开
-
Cocoa框架类之间的继承关系
Cocoa框架包含两个核心框架:Foundation和Application Kit (UIKit) 框架。在Cocoa开发中是必要的,至于其它框架(如:Core Data、Sync Services、Address Book、Preference Panes、Screen Saver、Web Kit)则是辅助和可选的;Foundation框架和Application Kit框转载 2013-01-07 22:25:34 · 547 阅读 · 0 评论 -
IOS学习之UINavigationController详解与使用(一)添加UIBarButtonItem
1、UINavigationController导航控制器如何使用UINavigationController可以翻译为导航控制器,在IOS里经常用到。我们看看它的如何使用:下面的图显示了导航控制器的流程。最左侧是根视图,当用户点击其中的General项时 ,General视图会滑入屏幕;当用户继续点击Auto-Lock项时,Auto-Lock视图将滑入屏幕。相应地,在转载 2013-01-07 22:28:11 · 634 阅读 · 0 评论 -
presentModalViewController和presentViewController的区别
presentModalViewController支持5.0,而presentViewController支持5.0以下你可以if (SYSTEM_VERSION_LESS_THAN(@"5.0")) { [self presentModalViewController:self.childVC animated:YES]; } else { [转载 2013-01-16 18:19:58 · 5609 阅读 · 1 评论 -
正确使用PresentModalViewController
一、主要用途 弹出模态ViewController是IOS变成中很有用的一个技术,UIKit提供的一些专门用于模态显示的ViewController,如UIImagePickerController等。弹出模态ViewController主要使用于一下这几种情形: 1、收集用户输入信息 2、临时呈现一些内容 3、临时改变工作模式 4、相应设备方向变转载 2013-01-16 17:57:21 · 901 阅读 · 0 评论 -
多级presentModalViewController处理
我们都知道使用弹出模态视图时有两个重要的函数presentModalViewController和dismissModalViewControllerAnimated,前面一个函数相信大家使用起来都没有问题,我想说的是后面这个函数dismissModalViewControllerAnimated,通过字面我们可以看出它的意思就是使弹出视图消失。我们设A弹出B,那么A就是presenting一方,转载 2013-01-16 18:25:09 · 2191 阅读 · 0 评论 -
NSLocale Class
与CFLocale自由转换.可以通过注册 NSCurrentLocaleDidChangeNotification 通知来获得区域位置改变消息.生成– initWithLocaleIdentifier:+ systemLocale// 操作系统的,最初始的区域?+ currentLocale// 当前用户设定区域,肯能是缓存的+ autoupdatingCurren转载 2013-01-19 16:38:19 · 1448 阅读 · 0 评论