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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 25, 20262026-05-25T16:52:39+00:00 2026-05-25T16:52:39+00:00

In the first navigation controller I’ve added four buttons to an UIToolbar. These four

  • 0

In the first navigation controller I’ve added four buttons to an UIToolbar. These four buttons have also four different actions.

My problem is when I push a new view controller in the navigation stack the UIToolbar is still visible but the four buttons disappears.

How to keep the buttons and how to keep their actions without rewriting the code to add four buttons and the four actions method in every view where I want the toolbar?

  • 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-25T16:52:40+00:00Added an answer on May 25, 2026 at 4:52 pm

    Make a separate class that inherits the UIToolbar class(in other words, your own custom Toolbar class) and then create and add instances of this new class’ objects in subsequent classes at the proper location on the screen(its bottom).

    OR

    Make a separate class that inherits the UIView class and add buttons to it that give the same look and feel as the UIToolbar. Then make instances of this new class’ objects and add this object’s UIViewas a subView (using [self.view addSubview:yourcustomViewObject.view];) at the proper location on the screen(its bottom).

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

Sidebar

Related Questions

Description I have a Tab Bar Controller with a navigation controller tab. The first
I have two views with navigation controller: first view, there are empty text fields
I have an app that navigates thru different views using the navigation controller. This
I have 2 tab bar items. The first tab have a navigation controller(3 views)
I have a navigation controller that works with two UITableViewControllers. The first UITableViewController shows
I want to have a TabBar controller inside a navigation controller. So that when
How to reach the first view of the navigation controller from any of the
How to access navigation controller from the AppDelegate? Suppose I have the following viewControllers:
I have a navigation controller. One of the views adds custom subviews in its
I have a navigation controller and when I place an image for navigation bar

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.