title: iOS 10: sharing image/save image started crashing
body: <p>I have a code which shares a line of text and an image via UIActivityViewController. After I updated to iOS 10 it started crashing with the following log: </p>
  
  <blockquote>
    <p>This app has crashed because it attempted to access privacy-sensitive data without a usage description.  The app's Info.plist must contain an NSPhotoLibraryUsageDescription key with a string value explaining to the user how the app uses this data.</p>
  </blockquote>
  
  <p>I do not post the code since it seems to happen even in Apple's own example. I found a corresponding <a href="https://openradar.appspot.com/27988819" rel="nofollow noreferrer">radar</a>, but not StackOverflow topic. </p>
  
  <p>Hope it will save someone's time. The fix is to add that line to your plist even though the app itself does not interact with the Photo Library. If anyone finds a better solution, it would be nice.</p>
  
  <p>Please, note that it is different from a <a href="https://stackoverflow.com/questions/37925583/uiimagepickercontroller-crashes-app-swift3-xcode8">problem with UIImagePickerController</a> - it is close to an opposite action. </p>