objective c - iOS display message on lockscreen -


one of our clients asked functionality: "permanently display message (or image) on iphone lockscreen".

our initial ideas were:

  • changing device lockscreen image:
    • couldn't find solution doing this. couldn't find private api it.
  • playing audio in background , display album artwork. has few problems:
    • we cannot hide volume , track buttons
  • display notification:
    • the notification go away after user skips lockscreen

any ideea how can accomplish request. please note app not intended distributed via appstore. internal app only. should work on non-jailbreak devices through. app enterprise distribuited.

kind regards,

artwork

if it's not intended app store, use artwork thing. since don't need comply ios guidelines, warn users lockscreen buttons won't work if try using them. link , one should help.

using ios 7 background fetch can manage messages display, long app has been opened once. know if app opened, can send ping server saving current app state every x minutes. if server doesn't receive update, guess app not running, he'll send emails or push notifications user until so.

issues:

  • if user opens app music or other can become responder, override message.
  • you can display message if app opened @ least once.

remote notifications

it option since notification can stay on lockscreen long user or doesn't clear notification center (you have set it). , can remotely display message without app being launched.

issues:

  • you have no way of knowing if cleared notification. idea send them email if notifications have been disabled.
  • users can disable notifications.

lockscreen image

you won't able change device lockscreen image without jailbroken device.


i'd go first one, if it's client requirement seems reliable one. depends on how control have on devices.


Comments

Popular posts from this blog

javascript - Jquery show_hide, what to add in order to make the page scroll to the bottom of the hidden field once button is clicked -

javascript - Highcharts multi-color line -

javascript - Enter key does not work in search box -