From 054dafaceb8d34f1649b6e6ea4157b1e44ad4168 Mon Sep 17 00:00:00 2001 From: Lewis Smith Date: Mon, 24 Oct 2016 10:46:58 +0700 Subject: [PATCH] Add note about NSCameraUsageDescription This is required since iOS 10. --- README.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/README.md b/README.md index e74aacf..90e7cb9 100644 --- a/README.md +++ b/README.md @@ -109,6 +109,9 @@ And implement the `ChimpKitRequestDelegate` protocol: Calling other API endpoints works similarly. Read the API [documentation](http://apidocs.mailchimp.com/api/2.0/) for details. +###Submission to the App Store since iOS 10 +You must add the a value for the `NSCameraUsageDescription` key to your `Info.plist` otherwise your app will be rejected by Apple. + ###Blocks and delegate methods can be called from a background queue The examples above use dispatch_async to call back onto the main queue after parsing the response. If you've set `shouldUseBackgroundThread` to `YES` then ChimpKit will call your block from a background queue so you can parse the JSON response with low impact on interface responsiveness. You should dispatch_* back to the main queue before updating your UI as shown above. You can enable this behavior like so: