iPhone 20px white line in viewcontroller

Do you have a 20px white line at the bottom of your iPhone app? Do the following in your AppDelegate when you are adding your first controller

self.window.rootViewController = “Your View Controller”

if you use [self.window addSubview:”Your View Controller”.view] you will end up being 20px out

Posted in Uncategorized