views:

1704

answers:

2

I have a situation where a modal dialog does not cover the Tab Bars of the UITabBarController derived view. Has anyone experienced a similar issue? This only happens when a second modal dialog is being displayed after the first one is dismissed.

+1  A: 

Which view are you adding the model dialog to? Can you show a screenshot or sample code? I usually push mine onto the window view to be sure that it has the full screen bounds to work within.

Robert Sanders
A: 

Robert,

Thanks for your reply. I am adding it to the view controller responsible for displaying the particular tab I am viewing right now. The code to show the modal view is linked to a button on one of tab view screens and when the button is clicked, the modal view display correctly moves from the bottom and covers the lower tabs of the tab view control. However when I call the same function (linked to a button event) programmatically, the the same modal dialog moves up and is partially covered at the bottom by my tabs, which is incorrect.

Thanks!