You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi. You can have whatever corners you want. Just make your own rectangular image, like the one in samples but with non-rounded corners and set it using
Note: The images you use for your popover background view should not contain any shadow effects. The popover controller adds a shadow to the popover for you.
When I show a modal VC, if I want to remove external round corners, I use
#import QuartzCore/QuartzCore.h
-(void) viewWillAppear:(BOOL)animated {
// must be on viewWillAppear, otherwise will fail after rotating
self.view.layer.cornerRadius = 0;
[super viewWillAppear:animated];
}
Thanks for your library, it's very useful.
How can I remove inner shadow and rounded corners?
Regards,
Ricardo.
The text was updated successfully, but these errors were encountered: