10 2016 档案
摘要:- (void)viewDidLayoutSubviews { [super viewDidLayoutSubviews]; CGRect frame = self.tabBar.frame; frame.size.height = 55; frame.origin.y = self.view.fr
阅读全文
摘要:#import "ViewController.h" #import <CoreTelephony/CTCallCenter.h> #import <CoreTelephony/CTCall.h> @interface ViewController () @property (nonatomic,
阅读全文
摘要://创建segmentControl 分段控件 UISegmentedControl *segC = [[UISegmentedControl alloc]initWithFrame:CGRectMake(50, 100, 200, 30)]; //添加小按钮 [segC insertSegment
阅读全文
摘要:error itms 90362上传appstore 一直报错ERROR ITMS-90362: "Invalid Info.plist value. The value for the key 'MinimumOSVersion' in bundle WholeNet.app/Frameworks
阅读全文
摘要:如果你是用xib搭的cell界面 那么cell上面的UIlabel就不能设置宽高 要选择上下左右自适应 并且label的行数设置为0 然后在tableView的代理方法 (UITableViewCell *)tableView:(UITableView *)tableView cellForRowA
阅读全文
摘要:CAGradientLayer *gradientLayer = [[CAGradientLayer alloc] init]; gradientLayer.colors = @[(__bridge id)mRGBToColor(0xff8800).CGColor,(__bridge id)mRGB
阅读全文
摘要://获取当前时间 时间根据格林威治时间显示 //时间 8小时 英国格林威治 7小时 NSDate *date = [NSDate date]; NSLog(@"%@",date); //NSZone 计算时区 //根据当前时间 获得一个时间 参数是秒 NSDate *someDate = [NSDa
阅读全文
摘要://单一导航栏按钮设置如下 UIBarButtonItem *rightBarItem = [[UIBarButtonItem alloc] initWithTitle:nil style:UIBarButtonItemStylePlain target:self action:@selector(
阅读全文