Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How do I disable rounded corners for the main view of my entire iPhone app?

Tags:

People also ask

How can we create an iOS like rounded shape with smooth corners?

Click the icon to adjust each individual corner. Click to open the Corner Smoothing setting. Drag the slider right to increase and left to decrease. Click iOS to set Corner Smoothing to 60%, the default for iOS.


When running my iPhone app, the app's entire UI has rounded corners (i.e. the area underneath the status bar). The UI is set up using a storyboard, which does not show the rounded corners. How do I turn off the rounded corners? I have tried the following in my AppDelegate's didFinishLoading method:

[self.window.layer setCornerRadius:0.0];

but it made no difference. Any ideas?