iOS banner notification -


i noticed banner notification on iphone haven't seen before. can't find description of these banners, example here. here are:

banner 1

banner 2

first of them appears when app goes in background. tap on banner shows app again. second appears when create hotspot , tap on shows hotspot settings.

so, questions are:

  1. what these banners?
  2. why have different colors?
  3. how can create same banner in own app?

the blue banner there if "personal hotspot" feature turned on, , other device using shared internet connection.

the red banner shown example if app not in foreground accessing microphone.

both banners provided operating system , not customizable app developers. these banners can make problems when app not prepared re-layout views result of banner appearing or disappearing. therefore, can simulate banner in ios-simulator pressing cmd-y (xcode6 ios simulator => hardware => toggle in-call status bar).

furthermore, these banners not "notifications", more status hints provide visual cue user phone in exceptional state (red=microphone access, green=a phone call in progress, blue=personal hotspot in use.)


Comments

Popular posts from this blog

google chrome - Developer tools - How to inspect the elements which are added momentarily (by JQuery)? -

angularjs - Showing an empty as first option in select tag -

php - Cloud9 cloud IDE and CakePHP -