I’m creating an iphone app with few elements inside the controller (e.g tab bar, uiview, uitoolbar, etc..). Everything works fine until I encountered this problem. While my application is launched, I received a call and it shows the “Call Status Bar” which ruined the ui. Some elements are pushed down because the “Call Status Bar” is taking space at the top.
Anybody here have an idea on how to fix this issue? I’m new to iPhone app development.
Your reply is greatly appreciated…
Best Regards,
You should put this function on appDelegate, this will trigger when the status bar change
This Code will send Notification with the name “trigger”
Place a code to your view Controller (e.g: viewDidLoad, etc..) this listen if there are notification send with a name “trigger”
And create a function dataReceived:
do something on this part of the code, maybe you change the frame of your tab bar, uiview frame, toolbar frame
And in
dealloc, put this code to remove the observer