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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T08:09:58+00:00 2026-05-26T08:09:58+00:00

I was developing my application on XCode 4.1, for iOs 4.3, but yesterday I’ve

  • 0

I was developing my application on XCode 4.1, for iOs 4.3, but yesterday I’ve updated it to XCode 4.2 with iOs 5.0 SDK.

When I run my application in iphone 4.3 simulator, it works great.
I decided to test it on iphone 5.0 simulator, and following problems appeared:

  • I’ve got a view controller f.e “MyViewController”, and a custom class which implements some custom component “MyCustomComponent” which is added to “MyViewController”. There is a button in MyCustomComponent, and when its touched it peformSelector from MyViewController, and it leads to crash with EXC_BAD something. Same code works on iPhone 4.3 simulator just perfectly. Any ideas?
  • Custom navigation bar – doesn’t work at all. I’m trying to set custom background implementing UINavigationBar, and overriding drawRect, but it doesn’t shows in ios 5.
  • 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-26T08:09:58+00:00Added an answer on May 26, 2026 at 8:09 am

    OK, so i guess I figrued it out. My console was off, when i reinstalled xcode, so didn’t see any error messages. Turned it on now, and got an error

    Terminating app due to uncaught exception
    ‘UIViewControllerHierarchyInconsistency’

    Problem was that I was adding MyCustomComponent to MyViewController using

    self.view=myCustomComponent.view
    

    when I should be doing

    [self.view addSubview:myCustomCoponent.view]
    

    it wasn’t an issue in ios 4.3, but seems its a big deal in ios 5.

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

Sidebar

Related Questions

I'm developing an iPhone and iPad application with Xcode 4.2 and latest SDK. I
I was previously developing my application in Xcode but decided to move over to
I am developing an application(using Xcode 4.2 and iOS-5-SDK) aimed for iOS-4 as well
I have developing an iPhone application using xcode 4 which is compatible with iOS
I'm developing an iOS 4 application using iOS SDK latest version and XCode 4.2.
I'm developing an iOS 4 application using latest SDK, XCode 4.2 and ARC .
I'm developing an iOs application with latest SDK and XCode 4.2. I need to
I'm developing an iOS application with latest SDK and XCode 4.2. To parse JSON
I'm developing an iPhone application with latest SDK and XCode 4.2. I'm trying to
I'm developing a large scale application for iOS 5 using ARC in xcode. 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.