How to customize the popup time of iOS permission dialog for push notifications -
i know there no possibility permission dialog can customized or disabled long application push enabled. wonder if popup time can postponed.
i have seen candy crush saga
so.
the permission dialog not appear until reach level when customize dialog popup , ask if receive notifications candy crush saga
, if press ok, comes ios standard permission dialog push notifications.
when call registerforremotenotificationtypes:
first time dialog shown. so, don't call until need it.
also, consider asking user / informing user gain accepting , asking if they're interested. if are, use user defaults record , check before calling registerforremotenotificationtypes:
in app delegate (for each startup). if user happy set flag in user defaults , call registerforremotenotificationtypes:
first time.
Comments
Post a Comment