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 8425393
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 10, 20262026-06-10T04:15:29+00:00 2026-06-10T04:15:29+00:00

I have a third party control that wants me to put a view inside

  • 0

I have a third party control that wants me to put a view inside of it. I’m trying to get a UINavigationController containing a series of table views inside of it, but when adding the controls the navigation bar overlaps the tableview by about half a row, which looks dumb.

Here’s the code. I’m using the ArcGIS Server iOS SDK to put the navigation controller in a callout box on the map:

    IdentifyResultsViewController *idWindow = [[IdentifyResultsViewController alloc] init];
    idWindow.results = results;
    UINavigationController *nvc = [[UINavigationController alloc] initWithRootViewController:idWindow];
    map.callout.customView = nvc.view;
    nvc.view.frame = CGRectMake(0, 0, 275, 400);

     [map showCalloutAtPoint:self.mapPoint];

Is this a common problem using the UINavigationViewController, or should I look to the third party control?

  • 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-10T04:15:31+00:00Added an answer on June 10, 2026 at 4:15 am

    I solved this using some simple reordering of code – instead of using initWithRootViewController, I created the navigation view controller, set it’s frame manually, and then pushed the view controller on to it:

        IdentifyResultsViewController *idWindow = [[IdentifyResultsViewController alloc] init];
        idWindow.results = [self filterResults:results];
        UINavigationController *nvc = [[UINavigationController alloc] init];
        nvc.view.frame = CGRectMake(0, 0, 275, 400);
        [nvc pushViewController:idWindow animated:NO];
    
        map.callout.customView = nvc.view;
        [map showCalloutAtPoint:self.mapPoint];
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Currently I have a third party control that generates a Metafile. I can save
I have an MFC application that uses an ancient (circa 1999) third-party ActiveX control.
I have third-party C code that writes data to a file. I want to
I have third party sites that link to some images on my site. The
I have a third-party library that is sometimes throwing an exception. So I decided
I have a third party web service that returns this xml <book> <release_date>0000-00-00</release_date> </book>
I have some third-party Javascript that has statements like this: FOO = function() {
I have an app that manages a list of third-party servers and can poll
I have an xml file that is being used on a third party system,
I have a winform application that works with/for third party exes. These third party

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.