title: How To Enable iCloud Music Library Through Objective-C
body: <p>Is there a way to enable the iCloud Music Library through code in such a way that it calls the same functions that are called when a user tries adding a song to their playlist in Apple Music if they do not have iCloud Music Library enabled?</p>
  
  <p>Just to add a bit of clarity, what I want is the same iOS Native popups that the user sees when they go to their settings and try to enable iCloud Music Library which is also called and displayed when they try to add a song to their playlist in the Apple Music App.</p>
  
  <p>It's this one </p>
  
  <p><a href="https://cdn2.macworld.co.uk/cmsdata/features/3630990/2_turn_off.jpg" rel="nofollow">https://cdn2.macworld.co.uk/cmsdata/features/3630990/2_turn_off.jpg</a></p>
  
  <p>but instead of asking them to disable iCloud Music Library it asks them to enable it.</p>