link to video in a web server through push notification

Discussion in 'iOS Programming' started by vinodkalpaka, Sep 15, 2011.

  1. vinodkalpaka macrumors newbie

    Joined:
    Sep 15, 2011
    #1
    Hi,
    Is it possible to put a link to video in a web server through push notification . I wish the user who see the message have an

    option to click a link in the message and open a video. Please advice
    Regards,
    Vinod
     
  2. jiminaus, Sep 15, 2011
    Last edited: Sep 15, 2011

    jiminaus macrumors 65816

    jiminaus

    Joined:
    Dec 16, 2010
    Location:
    Sydney
    #2
    No. Push notifications are only straight text.

    However, you could use the action button to do this. Push the URL via a custom dictionary in the push notification. Then have your notification handler in your app look for the custom dictionary, extract the URL, and play the video.

    Read the Local and Push Notifications Programming Guide to more info.
     

Share This Page