Поместите это в представление, которое вы показываете:
//You will have to link to the QuartzCore library
#import <QuartzCore/QuartzCore.h>
- (void)viewDidLoad
{
[super viewDidLoad];
//set border radius on initial load
self.view.layer.cornerRadius = 0;
}
- (void) didRotateFromInterfaceOrientation:(UIInterfaceOrientation)fromInterfaceOrientation {
//for some reason the cornerRadius resets itself on orientation change
self.view.layer.cornerRadius = 0;
}