摘要:
自定义View中 @implementation Rootview - (id)initWithFrame:(CGRect)frame { self = [super initWithFrame:frame]; if (self) { self.button = [UIButton buttonWi 阅读全文
posted @ 2016-02-23 20:44
mingxing
阅读(195)
评论(0)
推荐(0)
摘要:
// UITextField 文本输入框 // UITextField 继承与 UIControl // UIContr 继承与 UIView self.textField = [[UITextField alloc]initWithFrame:CGRectMake(100, 100, 200, 5 阅读全文
posted @ 2016-02-23 20:41
mingxing
阅读(134)
评论(0)
推荐(0)
摘要:
// 设置window坐标 //self.window = [[UIWindow alloc]initWithFrame:CGRectMake(0, 0, 375, 667)]; // 这行代码会自动根据需要帮我们生成合适的window大小 self.window = [[[UIWindow all 阅读全文
posted @ 2016-02-23 20:33
mingxing
阅读(229)
评论(0)
推荐(0)

浙公网安备 33010602011771号