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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 15, 20262026-05-15T11:31:08+00:00 2026-05-15T11:31:08+00:00

In a universal binary iPhone/iPad app of mine, users are able to adjust preferences

  • 0

In a universal binary iPhone/iPad app of mine, users are able to adjust preferences in a view controller that’s presented modally.
On the iPhone, the settings panel is presented with presentModalViewController:animated:, and on the iPad, I use a UIPopoverController.

I’m having a heck of a time completely isolating the UIPopoverController code away from the iPhone code. Everytime I compile for the iPhone, I get the following error:

dyld: Symbol not found: _OBJC_CLASS_$_UIPopoverController
  Referenced from: /var/mobile/Applications/CBB37F87-AA6D-47E2-823A-E259E3268A32/MyApp debug.app/MyApp
  Expected in: /System/Library/Frameworks/UIKit.framework/UIKit

This is of course because UIKit on the iPhone doesn’t have a UIPopoverController class. Does anybody have advice for how to effectively isolate the iPad API includes from the iPhone code, so I can actually run my code?

  • 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-05-15T11:31:09+00:00Added an answer on May 15, 2026 at 11:31 am

    Ahhhh nevermind. Check out Apple’s example app “TopPaid”

    It’s kinda hacky, but it works. Wish there was a more elegant solution…

    Class cls = NSClassFromString(@"UIPopoverController");
    if (cls != nil)
    {
        UIPopoverController *aPopoverController =
            [[cls alloc] initWithContentViewController:self.masterViewController];
        self.popoverController = aPopoverController;
    
        [aPopoverController release];
    
        [popoverController presentPopoverFromBarButtonItem:barButtonItem
                                  permittedArrowDirections:UIPopoverArrowDirectionUp
                                                  animated:YES];
    }
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a universal binary iPhone/iPad app. The app icon appears correctly when I
I have a universal binary app for iPhone / iPad. In console I always
I recently upgraded my iPhone app to a universal binary. I have 2 view
While working on an universal binary for iPhone / iPad, I've been asking my
Which part of the app is it that triggers the iPad app as it's
I'm developing an iPad app that will be distributed in-house using the Enterprise Program
I've had experience writing a cocoa touch app as a universal app (for ipad,
I understand that there's no universal answer to the attribute vs. element debate (and
I made an universal binary and didn't implement any sort of device orientation rotation.
I want to compile jpeg-8b in universal binary (ppc,i386). It should be supported in

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.