I am using a UIPopoverController
to display a UIView
. The layout is somewhat similar to a UISplitViewController
so it is very strange looking to have rounded corners on the "detail view" because it leaves a small gap. I have not been able to find anything at all relating to other people having this problem, but these rounded corners seem to be the default style. Is it possible to remove them?
Things that might help:
- I load my view from a nib file, but I have currently made no changes to the default
UIView
- I tried setting
clipsToBound = NO
inviewDidLoad
- I tried setting
layer.cornerRadius = 0
inviewDidLoad
There also seems to be a shadow on the top part of the view, but it is hard to tell. Is there any way I can just get rid of all this default styling? I just want a blank square.