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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 8, 20262026-06-08T20:15:47+00:00 2026-06-08T20:15:47+00:00

If I have a tabbed iphone application, how do I communicate from one tab

  • 0

If I have a tabbed iphone application, how do I communicate from one tab to the next. For example if I have a puzzle game that displays a picture on the 5th tab, but only if the switches on the other 4 tabs are in the right positions, how do i let the 5th tab know what is set on the others?

  • 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-08T20:15:48+00:00Added an answer on June 8, 2026 at 8:15 pm

    First, you could store your shared information via a property of your custom tab bar controller that the viewDidLoad of the individual tabs’ view controllers could retrieve to update their own ivar, e.g.:

    MyTabBarViewController *parentController = (MyTabBarViewController *)self.parentViewController;
    
    _model = parentController.model;
    

    Second, you could store your model in the app delegate, you could do something like the following in your individual tabs’ view controllers:

    MyAppDelegate *appDelegate = (MyAppDelegate *)[UIApplication sharedApplication].delegate;
    
    _model = parentController.model;
    

    Third, you could also presumably use a singleton.

    Seems like if your goal is to share information amongst tabs, the first technique seems best (it’s best to limit objects to the narrowest appropriate scope).

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

Sidebar

Related Questions

I have a tabbed html form. Upon navigating from one tab to the other,
I am just getting started with iphone development I have a Tabbed application and
I have a tabbed content box that when a tab is clicked, a '#div1'
I have a tabbed application and when I click on the second tab, an
Is there a way that I can have a tabbed application, where if i
I have an android tabbed application and inside one of my tabs is an
I have a tabbed GUI with each tab containing a Frame. In one of
I have a tabbed view with one Activity per tab, and when I switch
I have a tabbed application with 3 tabs The first tab is a table
I have tabbed iOS application. I need to know which tab is active and

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.