objective c - ios - Ask for multiple permissions -
my application ask location , notification permissions. when user launch app first time location request displays , after notification request displays.
is there way request better? maybe list in android or better have right now?
you should ask permissions or check authorisation when required app, , not when user launches app first time. example, notification permissions requested @ launch, location permissions should requested when data required in app.
as far know, there no android-like way request permissions.
edit: may want check out third party libraries ishpermissionkit , jlpermissions, provide more unified approach asking user permissions, might looking for. ultimately, still believe asking permission when required still way go.
Comments
Post a Comment