//UIPickerView 是一个选择器控件,它可以生成单列的选择器,也可生成多列的选择器 @interface ViewController : UIViewController<UIPickerViewDataSource,UIPickerViewDelegate> @property(str
分类:
移动开发 时间:
2016-03-11 23:49:12
阅读次数:
207
class IndexViewController: UIViewController{} let className = "IndexViewController" let bundlePath = NSBundle.mainBundle().bundlePath let bundleFullNa
分类:
编程语言 时间:
2016-03-11 15:22:01
阅读次数:
148
1.跳转到任一UIViewController var sb = UIStoryboard(name: "Main", bundle:nil) var vc = sb.instantiateViewControllerWithIdentifier("ChooseViewController") as
分类:
其他好文 时间:
2016-03-10 12:30:17
阅读次数:
146
#import <UIKit/UIKit.h> @interface ViewController : UIViewController @property(strong,nonatomic) UIImageView *MyImage; @property(strong,nonatomic) UIT
分类:
移动开发 时间:
2016-03-09 23:54:01
阅读次数:
265
#import <UIKit/UIKit.h> @interface ViewController : UIViewController @property(strong,nonatomic) UISlider *MySlider; @property(strong,nonatomic) UIVie
分类:
移动开发 时间:
2016-03-09 23:43:27
阅读次数:
197
#import <UIKit/UIKit.h> @interface ViewController : UIViewController @property(strong,nonatomic) UIButton *btnTest; @property(strong,nonatomic) UIText
分类:
其他好文 时间:
2016-03-08 23:18:00
阅读次数:
237
//1.创建视图 ViewController.h @interface ViewController : UIViewController //创建视图控件; @property(strong,nonatomic)UIView *myView; @end ViewController.m @int
分类:
其他好文 时间:
2016-03-07 22:12:34
阅读次数:
169
目录[-] iOS对UIViewController生命周期和属性方法的解析 一、引言 二、UIViewController的生命周期 三、从storyBoard加载UIViewController实例的传值陷阱 四、UIViewController与StroyBoard的相关相互方法 1、View
分类:
移动开发 时间:
2016-03-07 12:07:20
阅读次数:
377
在iOS7.0以后,UIViewController添加了automaticallyAdjustsScrollViewInsets,关于此属性的描述看官方文档解释 automaticallyAdjustsScrollViewInsets PropertyA Boolean value that in
分类:
移动开发 时间:
2016-03-04 16:21:52
阅读次数:
304
1:iOS视图控制对象生命周期 init-初始化程序 viewDidLoad-加载视图 viewWillAppear-UIViewController对象的视图即将加入窗口时调用; viewDidApper-UIViewController对象的视图已经加入到窗口时调用; viewWillDisap
分类:
移动开发 时间:
2016-03-02 14:42:50
阅读次数:
234