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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 16, 20262026-05-16T05:46:09+00:00 2026-05-16T05:46:09+00:00

I have a fairly simple iPhone application that I want to have run on

  • 0

I have a fairly simple iPhone application that I want to have run on both the iPhone and the iPad. I’d like to just have the iPad version be a bigger version of the iPhone version, scaled up or not — I’m working on an iPad-specific version of the app that makes better use of the interface, but wanted to make sure my existing customers have something in the meantime.

The app is a simple tab-based application, and within each tab is a navigation controller that presents a table view, each of which can drill down a couple of layers. Everything mostly works — I have a couple of instances of views not filling the space available, but I can fix that. My biggest problem right now is that the navigation controllers universally break when I try using them. Once I drill down a level or two, I suddenly won’t be able to come back up again.

Let me try to explain in more detail:

One tab starts off with a “year” table view, showing all years that have entries; if you tap a year, it pushes another table view with all months in that year that have entries; if you tap a month, it pushes another table view that shows the individual entries; if you tap an entry, it pushes a view (a UIWebView, with some extra widgets) that shows an entry’s details.

Each push is done with [self.navigationController pushViewController: foo animated: YES]. The three table view controllers I mentioned above are all created from the same nib (in fact, everything pushed onto a navigation controller in any tab is loaded from the same nib). Since I know there are only up to three levels of navigation, I just allocated three identical view controllers and use one, two, or three depending on how many entries there are.

Popping these controllers off using the “back” button seems to universally mess up the state of the view controller. So, if I drill down to the third view — showing everything in a single month — I won’t be able to pop all the way back up to the first view: the back button stops working if I pop up one level.

Another example in another tab: it’s one table view that you can tap any entry on, and a new view controller will be pushed that shows the details of that entry. If I tap an entry, tap the back button, then tap the entry again, no back button appears, or sometimes, the text that would go inside the back button appears, but no button appears!

This behavior happens if I try running the iPhone app in scaled mode (built with base SDK 4.0, supporting OS 3.2) or in native mode (built with base SDK 3.2). It runs without problems on the iPhone. I’m kind of at a loss here, because this stuff always “just worked” out of the box, mostly from the defaults that were set up back when I first created the project.

My programmer’s instincts are telling me that I’m doing something very wrong in my view navigation, and that the iPad is just exposing it, but I can’t figure out what it is.

Has anyone run into an issue like this, or suggest something it might be or some better way to debug what’s going on?

  • 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-16T05:46:10+00:00Added an answer on May 16, 2026 at 5:46 am

    The issue was that I had a category on NSMutableArray, which added stack-like methods push and pop. Removing this category class fixed this issue.

    WTF, though.

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

Sidebar

Related Questions

I have a fairly simple Windows Forms application that I would like to add
We have a fairly simple mobile application, completed for iPhone and Android that does
I have a fairly simple class that I want to save to SQL Server
I have a fairly simple if else statement in C# that looks something like
I have a fairly simple desktop application that uses a .NET setup project (.msi
I have a fairly simple haskell project set up, where I just want to
I have a fairly simple CRUD web application (C#/ASP.NET) that runs fine in Firefox,
I have a fairly simple iPhone app that downloads a set of UITableView results
I have a fairly simple web2py form with a few validators like, IS_FLOAT_IN_RANGE(...) on
I have a fairly simple block of code. Sub Run(Name) on error resume next

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.