title: How to save a video to the camera roll and get the asset URL?
body: <p>I need to export a video from my iOS app and get the asset id. In the past, you can use <strong>ALAssetsLibrary</strong>:</p>
  
  <p><a href="https://stackoverflow.com/questions/14488782/save-image-in-camera-roll-and-get-asset-url">save image in camera roll and get asset url</a></p>
  
  <p>But it's deprecated now. I wonder what would be the new way of achieving this now? Thanks!</p>