Search code examples
iphoneiosobjective-cios6

App screen turn white while receiving notification


This is so weird, I've looked and nobody has the same problem as I was.

So, I noticed my app suddenly turn into white screen for few seconds when have incoming notification, this notification from other apps like facebook, whatsapp, etc. But it confuses me, why it effect my app when notification shown in the top screen for like 3 seconds, and my app turn into white except the notification.

This happened on iPhone 5 (iOS6). never happen before on iOS5.

EDIT

My app doesn't register notification, notification comes from other application, which nothing to do on my app. that is the strange one.

By pulling down notification also my app turned into white.

enter image description here

-<>-


Solution

  • So I fixed my own problem. anyone face same problem like I was, can see this solution :

    The problem is caused by duplicate window in in App delegate xib. which I might added accidentally into it, Silly of me.

    enter image description here

    Second window is just empty, unused. contain only white background - which is why this was shown when app received notification or by pulling down notification bar.

    by removing it will solve the problem.