ios9 - iOS 9 unable to access camera from addressbookui/contactsui while adding a new contact -


since ios 9 while adding new contact in app using addressbookui framework unable add photo camera although can add photo photo library. works expected in ios 8 , below versions. have used contactsui api , tried add photo camera doesnot work.

//ios 9 cncontact *contact = [[cncontact alloc] init];     cncontactviewcontroller *contactvc = [cncontactviewcontroller viewcontrollerfornewcontact:contact];     [self presentviewcontroller:contactvc animated:yes completion:nil];  //ios 8 abnewpersonviewcontroller *unknownpersonviewcontroller = [[abnewpersonviewcontroller alloc] init]; [self presentviewcontroller:unknownpersonviewcontroller animated:yes completion:nil]; 


Comments

Popular posts from this blog

java - Date formats difference between yyyy-MM-dd'T'HH:mm:ss and yyyy-MM-dd'T'HH:mm:ssXXX -

c# - Get rid of xmlns attribute when adding node to existing xml -