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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 5, 20262026-06-05T02:57:50+00:00 2026-06-05T02:57:50+00:00

Right now my app should only supports Portrait. On Summary/Supported Device Orientations I have

  • 0

Right now my app should only supports Portrait. On Summary/Supported Device Orientations I have only selected Portrait so I’m hoping that my app will not rotate. I was testing the app on a device and suddenly I’m getting the following error randomly:

[UIButtonContent deviceOrientationDidChange:]: unrecognized selector sent to instance

It happens when I rotate the device SOMETIMES, is not consistent, and is not always over UIBUttonContent. I supposed that if I only select Portrait, deviceOrientationDidChange should not be called or should be ignored.

Other times my app crashes with an EXC_BAD_ACCESS (code=1, address=something) but it happens when I rotate the device so I’m guessing that both errors are related.

I don’t know what to do with this, it’s hard to debug because I don’t have feedback, the All Exceptions Breakpoint is not being called, so I don’t know where and exactly why this is happening. Any idea on how to debug this is welcome.

  • 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-05T02:57:52+00:00Added an answer on June 5, 2026 at 2:57 am

    I solved this issue a long time ago, but I think is good to share what actually helped me on this case.

    After trying everything with no results with Instruments I started debugging old-school. I had an idea of “where” the error was so I just commented all the code on that section. I was right, the bug just disappeared along with some functionalities. After that I made “binary uncommenting” (uncomment one half) till I got the bug line. It was a third party library, I had an object that was not being released properly.

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

Sidebar

Related Questions

I've got an app that's in invite-only beta right now. Problem is, I can't
I have a app that plays video. Right now it exits when the vedio
I have a web app that I'm writing right now that is supposed to
I am programming an app that eventually will have several Activities. Right now, however,
I am developing an app right now that reads in data from a windows
I am working on an app right now where I have Individuals, Athletes and
I have my core web-app code in the header right now in a tag
I've building a app right now that I'm trying to keep properly decoupled from
I'm developing a facebook app right now all by my lonesome. I'm attempting to
I'm writing my first MVC app right now and am creating a new MembershipProvider

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.