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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 31, 20262026-05-31T05:12:34+00:00 2026-05-31T05:12:34+00:00

In iOS5 we have leftBarButtonItems that we can set to a navigation bar, how

  • 0

In iOS5 we have leftBarButtonItems that we can set to a navigation bar, how can I do this for pre-iOS 5? I basically have an array of UIBarButtonItem that I wanted to set the bar to.

  • 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-31T05:12:35+00:00Added an answer on May 31, 2026 at 5:12 am

    You can build own bar, and add it as left button:

        UIBarButtonItem *firstButton = [[UIBarButtonItem alloc] initWithTitle:@"First" style:UIBarButtonItemStyleBordered target:self action:@selector(firstButtonAction:)];
        UIBarButtonItem *secondButton = [[UIBarButtonItem alloc] initWithTitle:@"Second" style:UIBarButtonItemStyleBordered target:self action:@selector(secondButtonAction:)];
    
        UIToolbarTransparent *toolbar = [UIToolbarTransparent new];
    
        [toolbar setFrame:CGRectMake(0,0, 140,44)];
        [toolbar setItems:[NSArray arrayWithObjects:firstButton, secondButton, nil]];
    
        UIBarButtonItem *customBarButton = [[UIBarButtonItem alloc] initWithCustomView:toolbar];
        self.navigationItem.leftBarButtonItem = customBarButton;
    

    UIToolbarTransparent

    .h

    #import <Foundation/Foundation.h>
    
    @interface UIToolbarTransparent : UIToolbar {
    
    }
    

    .m

    #import "UIToolbarTransparent.h"
    
    @implementation UIToolbarTransparent
    
    - (id)init {
        if (self = [super init]) {
            self.opaque = NO;
            self.backgroundColor = [UIColor clearColor];
            self.translucent=YES;
        }
        return self;
    }
    @end
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I saw in the documentation that now you can have an array of items
I have an ios5 app developed using storyboards that currently displays a tab bar
I have this problem with a tableview in iOS5 that is giving me errors,
I have noticed since upgrading to iOS5 that an audio app I have been
I have set up a gesture recognizer for my table cell in my IOS5
I have heard some rumours that Apple is rejecting apps for using the iOS5
I have a application that in iOS4.3 works perfectly well, but crash in iOS5
I have this app, originally written for iOS 2.x. I recently needed to add
I have made a tab bar iOS project, when I received the request to
As monotouch updates have stopped (another story), can I upgrade my iPhone/iPad to iOS

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.