2017년 10월 2일 월요일

IOS 11 , SWIFT4 에서 카메라로 찍은 사진 앨범으로 저장안되고 에러날때


[access] 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 explaining to the user how the app uses this data.

에러가 뜰때는 
info.plist 에

Privacy - Photo Library Additions Usage Description   속성으로  YES 값 넣어주면 잘됨

0 comments:

댓글 쓰기