Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8236971
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 7, 20262026-06-07T19:18:45+00:00 2026-06-07T19:18:45+00:00

I am using a UIPopoverController to display a UIView . The layout is somewhat

  • 0

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 in viewDidLoad
  • I tried setting layer.cornerRadius = 0 in viewDidLoad

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.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-07T19:18:47+00:00Added an answer on June 7, 2026 at 7:18 pm

    There is no supported way to make the view inside of your UIPopoverController not have rounded corners. The internal code of the UIPopoverController adds your view to a view with rounded corners that clips to bounds.

    There may be a hackish way to do it, i.e. waiting until the UIPopoverController is shown and then traversing through all of the parent’s of your view and setting them all to have cornerRadius = 0; and clipsToBounds = NO;, but even if you find a solution it might not be compatible with all versions of iOS and if Apple changes some internal code of UIPopoverController in the future then your solution could break.

    If you really want to do this then the best way to go is to create your own class that mimics the UIPopoverController functionality.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm using a UIPopoverController to display some content, and I wanted to use KVO
Using C# for ASP.NET and MOSS development, we often have to embed JavaScript into
Using a split view on the iPad, I have the following code: - (void)
i am first time using Popoverview, and i have one issue when i am
Using android 2.3.3, I have a background Service which has a socket connection. There's
I have posted similar question previously, but this time I am providing some code
I have code in my app that adds a UIView to the root view
After reading apple's example: MultipleDetailViews which demonstrates how to use UIPopOverController with two detail
I am using a UIPopover on my navigation bar. I have several UIBarButtonItems and
I am using a UISplitViewController inside a UITabBarController with a plain UIViewController in the

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.