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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 10, 20262026-06-10T00:39:07+00:00 2026-06-10T00:39:07+00:00

The method setRightBarButtonItems:animated: for a UINavigationItem is not supported in iOS4. How could I

  • 0

The method setRightBarButtonItems:animated: for a UINavigationItem is not supported in iOS4.

How could I rewrite this code to add 2 buttons on the right in the bar ?

[viewController.navigationItem setRightBarButtonItems:[NSArray arrayWithObjects:helpButton, settingsButton, nil] animated:YES];

thanks

  • 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-10T00:39:07+00:00Added an answer on June 10, 2026 at 12:39 am

    You can set the button’s alpha to 0 before you add it to the view, and then animate it’s value to 1.0.

    //..Create the buttons
    //Make it invisible
    helpButton.alpha = 0.0;
    settingsButton.alpha = 0.0
    
    //Add them to the navBar
    [self.navigationController.navigationBar addSubview:helpButton];
    [self.navigationController.navigationBar addSubview:settingsButton];
    
    //Animate it to 1.0
    [UIView animateWithDuration:0.3 animations:^(void) {
          helpButton.alpha = 1.0;
          settingsButton.alpha = 1.0
        }];
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Method keySet() . Examples works fine, but I not sure if I'm right.
This method right below reverses a doubly linked list with n elements. I dont
This method works OK, but if I add delayed_job's handle_asychronously, I get can't convert
This method accepts as the last argument an integer, but I'm not sure I
First method $start = microtime(true); // code $end = microtime(true); echo 'This page loaded
This method works great and generates only 1 query (utilizing .Includes() to eager load).
This method notifes an event loop to start processing a message. However, if the
This method is updating test variable. But the problem is that if condition does
A method; Sterling operator+(const Sterling& o) const { return Sterling(*this) += o; } Does
If method A() calls static method B() , this is bad because the two

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.