i was create the app for target for iphone in ios7. but when i tested that app into ipad then statusbar not hidden. in iphone its hide but not into ipad. please help me. i set the below code on my app. i set this to appdelegate. but its not hide the statusbar for ipad.
[[UIApplication sharedApplication] setStatusBarHidden:YES withAnimation:UIStatusBarAnimationSlide];
i also set the View controller-based status bar appearance to NO and Status bar is initially hidden to YES into info.plist file.