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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 15, 20262026-05-15T04:59:46+00:00 2026-05-15T04:59:46+00:00

Situation: I’m placing an instance of a system item action button into the right

  • 0

Situation: I’m placing an instance of a system “item action” button into the right navigation button slot… no problems there. However, I want that button to display as just the icon WITHOUT a border around it (ie: “plain” style). Reading over documentation, it sounds like this should be a simple matter of just setting the UIBarButtonItem’s “style” property to UIBarButtonItemStylePlain, like so:

UIBarButtonItem *shareButton = [[UIBarButtonItem alloc] initWithBarButtonSystemItem:UIBarButtonSystemItemAction target:self action:@selector(didPressShare)];    
    shareButton.style = UIBarButtonItemStylePlain;
    self.navigationItem.rightBarButtonItem = shareButton;
    [shareButton release];

However, when I implement the above code, the button appears in the nav bar with a border around it… apparently the system is not observing my UIBarButtonItemStylePlain setting. Any ideas as to why? Any other solutions for making a button appear a just the icon and no border around it?

Thanks in advance!

  • 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-15T04:59:47+00:00Added an answer on May 15, 2026 at 4:59 am

    I’m sorry to tell you, but as far as I know you can’t use plain style with UINavigationBar.
    If it is possible use UIToolbar instead.

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

Sidebar

Related Questions

Situation: I have an index page which loads pages into it with ajax as
Situation: I often run into this problematic and never know how to solve it.
Situation: - TFS2010 and VS2010 in house. There is a VS11 coming in the
Situation: I have a panorama control with 2 panorama items. First item contain the
Situation: I'm working with Wicket's IndicatingAjaxButton . I have the button set up on
Situation is that level of log4net is configured as 'Error' but there is some
Situation: 2 text boxes, TextBoxA and TextBoxB. I enter text into TextBoxA and it
Situation: I need a tiny button, with some text on it. Problem: The button
Situation : C#, .NET 3.5, WinForms Objective : Form1 has a Button that can
Situation: our production mysql database makes a daily dump into a .sql file. I'd

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.