When I open some other view controller from my main view controller, the some other view controller gets opened with no issues. But when I dismiss other view controller and coming back to my view controller, the status bar overlaps my main view controller.
Size of our view is 460 and 20 pixels for status bar is given.
Similar question is already posted in stack overflow, there is an answer to that question which says "The solution was to load the UIViewController in the old UINavigationViewController. This way the UIViewController keeps its former position.". But we are not using UINavigationViewController. Can any one please tell us how else we can solve this issue.