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

  • Home
  • SEARCH
  • 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 7502295
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 29, 20262026-05-29T20:49:00+00:00 2026-05-29T20:49:00+00:00

I have an application that has 4 views that are toggled by Tab Bar

  • 0

I have an application that has 4 views that are toggled by Tab Bar navigation. The first view (Tab bar Item 1) has a button on its view that when clicked, needs to move the user to the 2nd view (Tab bar item #2). What are the steps needed to do such a thing?

Here is a screenshot of the button and as you can see, nothing has been attached yet. Would love to know the best way to hook up this button either through IB or code.

Thanks in advance

enter image description 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-05-29T20:49:03+00:00Added an answer on May 29, 2026 at 8:49 pm

    I’m not sure why you would use a custom button to replicate the functionality of the button in the tab-bar, but in a nutshell what you need to do is:

    1. Link the “Touch Up Inside” outlet to an IBAction method in the view-controller for the first tab-bar item (just click and drag from the circle up to “File’s Owner”, which should be your view-controller class).
    2. In the method implementation, simply call [myTabBarController setSelectedViewController: tab2Controller] (alternately you can use [myTabBar setSelectedIndex:1] to do the same thing).

    That’s all there is to it.

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

Sidebar

Related Questions

I have an application that has many views (Using tab bar controller). I want
I have a mvvm(model view viewmodel) silverlight application that has several views that need
I have a Delphi 7 application that has two views of a document (e.g.
I have a plug-in to an Eclipse RCP application that has a view. After
I'm making an application for the iPad. I have a view controll that has
I have an application that has a top level navigation menu which consists of
I have an application that has two map views one satellite and one street
I have 1 application. It has almost 32 views in hiereachy with back button.
I have a web application that essentially has header, footer and body views. I'm
I made a tab bar application that has only one xib file. If you

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.