[已解决]尝试用CNContactPickerViewController去绕开权限bug而直接访问通讯录
crifan 11年前 (2016-01-02) 4933浏览
折腾: [规避解决]swift中通过CNContactStore获取联系人列表出错:error=Error Domain=CNErrorDomain Code=100 "访问被拒绝” 好像是系统bug,绕不开。 所以打算,直接用 ios &...
iOS Framework
crifan 11年前 (2016-01-02) 4933浏览
折腾: [规避解决]swift中通过CNContactStore获取联系人列表出错:error=Error Domain=CNErrorDomain Code=100 "访问被拒绝” 好像是系统bug,绕不开。 所以打算,直接用 ios &...
crifan 11年前 (2016-01-01) 2702浏览
折腾: [规避解决]swift中通过CNContactStore获取联系人列表出错:error=Error Domain=CNErrorDomain Code=100 "访问被拒绝” 期间,几次遇到: 然后对应的log很诡异,说是和自动布...
crifan 11年前 (2016-01-01) 4163浏览
折腾: [规避解决]swift中通过新接口CNContactStore去获取地址簿联系人列表 期间,用代码: if #available(iOS 9.0, *) { let store = CNContac...
crifan 11年前 (2016-01-01) 2541浏览
折腾: [基本解决]swift实现读取手机联系人 期间,发现iOS 9.0后,读取手机联系人的接口从 ABAddressBook的: ABAddressBookGetAuthorizationStatus ABAddressBookRequestAc...
crifan 11年前 (2016-01-01) 2899浏览
swift read phone contact list How to retrieve address book contacts with Swift? – Stack Overflow Accessing iOS Address ...
crifan 11年前 (2015-12-30) 3174浏览
想要自定义个UIView 想要支持自动布局 -》所以就不打算初始化frame -》但是导致init函数就没法写 -》最后就只好写成了: class SearchPhoneView: UIView, UITextFieldDelegate { ...
crifan 11年前 (2015-12-30) 3659浏览
之前设置Button的标题颜色时用的是: self.sendMessageButton.tintColor = UIColor.whiteColor() self.sendMessageButton.setTit...
crifan 11年前 (2015-12-30) 2820浏览
//has sent the friend invitation to user //wait user accept the friend invitation ...
crifan 11年前 (2015-12-29) 4227浏览
swift show toast iphone – Android toast messages on iOS – Stack Overflow Rannie/Toast-Swift · GitHub devxoul/JLTo...
crifan 11年前 (2015-12-28) 2632浏览
swift uitableviewcell multiple selection swift – Select multiple rows in tableview and tick the selected ones – S...