Push notification pop up

Discussion in 'iOS Programming' started by yyairr, Feb 1, 2016.

  1. yyairr macrumors newbie

    Joined:
    Dec 20, 2015
    #1
    Hi

    I'm am making an app that uses both local and external (not sure what is the correct term) push notifications.

    The notifications only appear on the notifications drawer (and doesn't even make a sound if the app is currently running on the foreground), which makes them pretty unnoticeable for the user.

    How can I customize a push notification layout? Can I get it as a pop-up instead of in the Notification Bar? (similar to how a new message pops on the screen when received).

    Please tell me what shell I do.

    Thanks ahead for your attention and time.

    Yair
     
  2. JWalker1995 macrumors regular

    Joined:
    Mar 5, 2011
    #2
    This is controlled by the users device settings, not by the developer.

    Also notifications are designed to not be shown while the user has that app open
     
  3. Mascots macrumors 65816

    Mascots

    Joined:
    Sep 5, 2009
    #3
    If you want to show notifications while the app is open, it is up to you to catch them and receive them, then show something to your user via your application's delegate. This gives you the opportunity to customize how the user receives the action - e.g., an alert pop up, a window change, banner notification, etc

    However, if the app is not opened, the iOS notification settings will route the incoming notification to the users expectations, which is out of your control.
     

Share This Page