上一页 1 ··· 7 8 9 10 11 12 13 14 15 ··· 17 下一页

2019年11月1日

iOS开发中,获取图片之后保存或下载到本地相册中

摘要: #pragma mark 先获取本地图片或者网络图片 - (void)saveHeaderImageWith:(NSString *)path { UIImage *img = [UIImage imageWithContentsOfFile:path]; //这里img也可以是从网络获取的图片 [self saveImageToPhotos:img]; } #pragma mark 保存图片 - 阅读全文

posted @ 2019-11-01 09:10 在一起的浅蓝色 阅读(970) 评论(0) 推荐(0)

2019年10月30日

This app has crashed because it attempted to access privacy-sensitive data without a usage description. The app's Info.plist must contain an NSPhotoLibraryAddUsageDescription key with a string value

摘要: iOS10 11之后遇到这种报错的小伙伴们请注意啦: 你会发现网上一大堆博客和论坛都是让你在 Info.plist 里面要涉及隐私数据时要添加一句“提示语”。于是打开 Info.plist,点击 + 号,在 Key 中输入:Privacy - Photo Library Additions Usag 阅读全文

posted @ 2019-10-30 14:57 在一起的浅蓝色 阅读(1119) 评论(0) 推荐(0)

2019年10月29日

ios中友盟集成好使用总结

摘要: 参考链接:https://www.jianshu.com/p/a8ff46a7c966 阅读全文

posted @ 2019-10-29 21:14 在一起的浅蓝色 阅读(226) 评论(0) 推荐(0)

2019年10月27日

ios中仿蚂蚁森林动画效果

摘要: 参考链接:https://www.jianshu.com/p/0ba9d80f8e77 demo下载链接:https://gitee.com/ovix/TreeWithRandomFruitBtn 阅读全文

posted @ 2019-10-27 22:25 在一起的浅蓝色 阅读(674) 评论(0) 推荐(0)

2019年10月18日

iOS 自定义导航栏

摘要: 参考链接:https://blog.csdn.net/huanglinxiao/article/details/100537988 demo下载地址:https://github.com/huangxiaolin0425/NavView 阅读全文

posted @ 2019-10-18 15:35 在一起的浅蓝色 阅读(149) 评论(0) 推荐(0)

2019年10月17日

ios中设置UIButton圆角,添加边框

摘要: //例如: UIButton *button = [UIButton buttonWithType:UIButtonTypeCustom]; button.frame = CGRectMake(50,50,100,40); button.backgroundColor = [UIColor blue 阅读全文

posted @ 2019-10-17 22:51 在一起的浅蓝色 阅读(663) 评论(0) 推荐(0)

iOS 中UICollectionView实现各种视觉效果

摘要: 参考链接:https://www.jianshu.com/p/b3322f41e84c 基础:https://www.jianshu.com/p/d0b034f59020 阅读全文

posted @ 2019-10-17 10:51 在一起的浅蓝色 阅读(440) 评论(0) 推荐(0)

UIScrollView中UITableView

摘要: 参考链接:https://www.jb51.net/article/112679.htm https://www.jianshu.com/p/b867ed4ee9e3 阅读全文

posted @ 2019-10-17 10:48 在一起的浅蓝色 阅读(90) 评论(0) 推荐(0)

2019年10月2日

iOS 13 适配总结

摘要: 转自:https://mp.weixin.qq.com/s?__biz=MzAxMDAxNTg4Ng==&mid=2655905455&idx=2&sn=2c9bc72ff4284e5499c0788a8c3017c0&chksm=80ef834eb7980a5883b8df26c9b0868159 阅读全文

posted @ 2019-10-02 14:23 在一起的浅蓝色 阅读(143) 评论(0) 推荐(0)

2019年9月4日

iOS中计算字符串NSString的高度

摘要: 根据固定宽度计算字符串高度: 阅读全文

posted @ 2019-09-04 14:50 在一起的浅蓝色 阅读(813) 评论(0) 推荐(0)

上一页 1 ··· 7 8 9 10 11 12 13 14 15 ··· 17 下一页

导航