ios - Update status bar text colour in real time as view changes -


this might beginner question, noticed interesting in new apple music app. when switching 1 view another, status bar text colour seems change in real time rather @ once when next view loads.

check out screen recording see mean: http://f.cl.ly/items/2a0a3q3i2o2d2o3u3q1m/statusbar_1.mp4

closeup: http://f.cl.ly/items/182r3n3z1m1y0y1w0j2j/statusbar_2.mov

how achieve same effect? instance, when transitioning view controller modally, how status bar style change dynamically rather when next view loads? possible? apple using private api, or simple trick i'm missing? sorry if beginner question, don't think i've ever seen app this.

nothing you’re missing—there’s no api that. i’ve seen couple of third-party apps similar, finding status bar window, snapshotting it, , doing clever things resulting image, that’s pretty fragile. always, if you’d api something, should file enhancement request.


Comments

Popular posts from this blog

OpenCV OpenCL: Convert Mat to Bitmap in JNI Layer for Android -

android - org.xmlpull.v1.XmlPullParserException: expected: START_TAG {http://schemas.xmlsoap.org/soap/envelope/}Envelope -

python - How to remove the Xframe Options header in django? -