摘要:
UIView *headView = [[UIView alloc] initWithFrame:CGRectMake(0, 20, kScreenWidth, 44)]; headView.backgroundColor = [UIColor clearColor]; [self.view add 阅读全文
摘要:
1. 实现UITextView delegate 2. 设置 textView.editable = YES; 3. 实现代理协议方法 #pragma textView deletate -(BOOL)textViewShouldBeginEditing:(UITextView *)textView 阅读全文
摘要:
UIEdgeInsetsMake(CGFloat top, CGFloat left, CGFloat bottom, CGFloat right) <上 左 下 右 > top - 向上 + 向下 letf - 向左 + 向右 bottom - 向下 + 向上 right -向右 +向左 阅读全文