I created a project using Master-Detail Application template but i don’t need a MasterView. So i deleted Masterview files and codes but this time when i rotate the Simulator/Device in the left side of my main screen a black area stays. I want to stretch my Detail view to fill all the scren but i have no idea how to do. Can anyone please help? Thanks in advance
Note: My app needen NavigationController, firstly i tried SingleView template, but i couldn’t push views on that template so i created my app in Master-Detail Application template..
This was the first appearance of the
didFinishLaunchingWithOptions:of my ..AppDelegate.m but i changed it with below:I answered my own answer in case it may be helpful for someone who lives the same pains:)