定制导航条的颜色
摘要:self.navigationController.navigationBar.barTintColor =[UIColor colorWithRed:70/255.0green:193/255.0 blue:14/255.0 alpha:1.0]; // 设置导航条的透明 // [self set
阅读全文
posted @
2016-04-15 19:11
LiRenee
阅读(168)
推荐(0)
The operation couldn't be completed
摘要:今天xcode一直报这个错误,每次运行程序之前都要clean一下才能运行成功,查了一下才,有以下这些方法: rest 模拟器,重启xcode,clean程序等,最后我发现我遇到的问题是因为,我的模拟器上有两个一样的程序, why?是因为我改了项目的bundleId,所以模拟器上面有两个一样的app,
阅读全文
posted @
2016-04-12 20:54
LiRenee
阅读(675)
推荐(0)
将ImageVi的Image保存到相册
摘要:/** * 将ImageVi的Image保存到相册 */ UIImageWriteToSavedPhotosAlbum(self.iconBigImageView.image, self, @selector(image:didFinishSavingWithError:contextInfo:),
阅读全文
posted @
2016-04-11 19:50
LiRenee
阅读(179)
推荐(0)
获取当前相机的权限
摘要:if ([UIImagePickerController isSourceTypeAvailable: UIImagePickerControllerSourceTypeCamera]) { //获取当前的授权状态 AVAuthorizationStatus AVStatus = [AVCaptur
阅读全文
posted @
2016-04-11 19:46
LiRenee
阅读(640)
推荐(0)