I am working on a universal application.I am using
self.window.rootViewController = self.SecondViewController
to load viewcontroller class in the AppDelegate
method.
This line of code is working fine for ios versions 4 and later but when i run it on my ios 3.1.3 it crashes.
So I replaced that code with [self.window addSubview:[SecondViewController view]]
and it works fine but initially the view moves up(As in the screen shot) when we load the app for the first time.
So kindly help me overcome this issue
thank you