iOS
zhang0703yu
这个作者很懒,什么都没留下…
展开
-
error: linker command failed with exit code 1 (use -v to see invocation)
error: linker command failed with exit code 1 (use -v to see invocation)今天在编译的时候遇到的,这个问题第一次遇到,感觉无从下手,之后查看了代码,发现错误是导入头文件时,误导入了.m文件,之后改为.h文件后就正常,希望有相同问题的小伙伴可以借鉴一下。##原创 2015-09-08 17:47:52 · 154 阅读 · 0 评论 -
ios error90096 错误
今天上传苹果app store 时遇到的问题解决:在项目中添加一个名字为Default-568h@2x.png 的320*568的图片就可以解决希望对大家有帮助原创 2015-11-09 20:17:24 · 313 阅读 · 0 评论 -
ios UIbutton变圆
button是正方形时变圆 _iconBtn.layer.cornerRadius = button的width除以2; _iconBtn.layer.masksToBounds = button的width除以2;;原创 2015-10-10 16:18:14 · 289 阅读 · 0 评论 -
缩回iOS键盘
UITapGestureRecognizer * tapGesture = [[UITapGestureRecognizer alloc]initWithTarget:self action:@selector(dismissKeyBoard)]; tapGesture.cancelsTouchesInView =NO; [self.tableView addGestureRecognizer:原创 2016-06-14 10:27:13 · 314 阅读 · 0 评论 -
修改navigationController的背景色和隐藏navigationController下黑线
一.修改背景色 self.navigationController.navigationBar.barTintColor =[UIColor colorWithRed:0.980 green:0.979 blue:0.000 alpha:1.000]; 二.隐藏黑线 - (void)viewDidLoad { [super viewDidLoad]; [self findH原创 2016-06-16 09:57:30 · 216 阅读 · 0 评论 -
去掉tableviewHeader 空白
_hideTableView.tableHeaderView = [[UIView alloc] initWithFrame:CGRectMake(0.0f, 0.0f,_hideTableView.bounds.size.width, 0.01f)]; _hideTableView.tableHeaderView = [[UIView alloc] initWithFrame:CGRectM原创 2016-07-25 11:25:07 · 235 阅读 · 0 评论