07 2017 档案
摘要:转发自:作者 Code_Ninja 我们知道使用UITableView的时候有个技巧:使用table.tableFooterView = [UIView new];一行代码可以解决UITableView在cell比较少的情况下不显示下面的分割线条How to remove empty cells i
阅读全文
摘要:接下来几天,我会为大家分享一些开发中常用的资料和常识性的读物,方便一些入门的从业者学习. 所有iOS 设备的屏幕尺寸 之所以要写这么一点东西,是因为最近在做iPad开发。 屏幕适配比例.png iPhone 设备: iPhone 1G 320x480 iPhone 3G 320x480 iPhone
阅读全文
摘要://初始化并定义大小 UITextView *textview = [[UITextView alloc] initWithFrame:CGRectMake(20, 10, 280, 30)]; textview.backgroundColor=[UIColor whiteColor]; //背景色
阅读全文
摘要:btn.frame = CGRectMake(x, y, width, height); [btn setTitle: @"search" forState: UIControlStateNormal]; //设置按钮上的自体的大小 //[btn setFont: [UIFont systemFon
阅读全文

浙公网安备 33010602011771号