04 2015 档案

摘要:1、自定义相册(兼容 iOS7 iOS8)- (void)viewDidLoad {//search all photo albums in the library [assetsLibrary enumerateGroupsWithTypes:ALAssetsGroupAlbum usingBlo... 阅读全文
posted @ 2015-04-21 16:01 蔡-Rd 阅读(2140) 评论(0) 推荐(0)
摘要:问题描述:在苹果的 iOS8.0以上, 当你创建完一个相册, 例如名为"Rd", 然后在相册中手动删除了这个"Rd"相册, 再次通过代码#import ALAssetsLibrary *assetsLibrary = [[ALAssetsLibrary alloc] init]; ... 阅读全文
posted @ 2015-04-16 18:22 蔡-Rd 阅读(561) 评论(0) 推荐(0)
摘要:我知道的摇一摇有以下2种方案: 一、直接用系统自带的motionBegan方法 -(void)motionBegan:(UIEventSubtype)motion withEvent:(UIEvent *)event 假如程序不响应此方法,试着加入下面方法: -(BOOL)canBecomeFirs 阅读全文
posted @ 2015-04-15 15:24 蔡-Rd 阅读(1358) 评论(1) 推荐(0)