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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 13, 20262026-06-13T23:35:23+00:00 2026-06-13T23:35:23+00:00

My iPhone app had the standard ViewController.h , ViewController.m and ViewController.xib to support the

  • 0

My iPhone app had the standard ViewController.h, ViewController.m and ViewController.xib to support the 3.5″ retina display. I made a new ViewController_5.h, ViewController_5.m, ViewController_5.xib to support the 4″ display on the iPhone 5. In theory, these should be totally independent of each other. But now, IBActions from the ViewController_5.h show up in ViewController_5.xib, and when I connect them I expect the action to carry out whatever is in ViewController_5.m. But it actually does the code in ViewController.m. What’s going on here?

  • 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-13T23:35:24+00:00Added an answer on June 13, 2026 at 11:35 pm

    from the code you posted it looks like you just need to supply the right view controller class (ViewController_5) in the else part of your if statement, like this

    ... else { self.viewController = [[ViewController_5 alloc] initWithNibName:@"ViewController_5" bundle:nil]; }
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Up until yesterday I had a perfectly working app on my iPhone. I made
I am currently fixing bugs for a client who had the iPhone app made
I was trying to handle retina display touches in my cocos2d 1.01rc iPhone app
I just had a ridonkulous typo in my iPhone app, answered here . Now
In one of my builds for an iPhone app, I had inadvertently created a
I've released some iPhone apps to the App Store, and some of them had
Possible Duplicate: iPhone app without AppStore My boss had an idea to develop an
Has anyone had difficulty getting what has otherwise been a solid iPhone app working
I've just had a nagging question for a while regarding iPhone app user interfaces.
This had been driving me crazy.... I have an iPhone app that is using

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.