iOS banner notification -
i noticed banner notification on iphone haven't seen before. can't find description of these banners, example here. here are:
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:
- what these banners?
- why have different colors?
- 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
Post a Comment