Some warnings turned on.
Setting window's rootViewController to splitViewController in app's delegate on runtime 4.0 and above restores UI rotation iOS 6.0 and above.