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