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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 7, 20262026-06-07T17:28:50+00:00 2026-06-07T17:28:50+00:00

I think I found a bug in UIKit, but first I want to be

  • 0

I think I found a bug in UIKit, but first I want to be sure I’m not insane.

I have a tab bar with a disabled tabBarItem in it. If I present an action sheet from the tab bar, then cancel/press any button in it, after the action sheet dismisses the tab bar item appears enabled, but cannot be clicked.

I want it to stay disabled.

I uploaded an example project here. Run it in the simulator and press the action sheet button on the first view controller. Note the state of the second tab bar item before and after the sheet appears. The project itself is a standard “Tabbed Application” template with one tab item disabled and an IBAction for the button added.

Is this a bug, or am I misusing the APIs?

  • 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-07T17:28:52+00:00Added an answer on June 7, 2026 at 5:28 pm

    Looks like a bug it is…

    As a quick and safe workaround add this to the view controller (assuming it will be an UIActionSheet’s delegate)

    - (void)actionSheet:(UIActionSheet *)actionSheet didDismissWithButtonIndex:(NSInteger)buttonIndex {
        for (UITabBarItem *item in self.tabBarController.tabBar.items) {
            item.enabled = !item.enabled;
            item.enabled = !item.enabled;
        }
    }
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I think I have found a bug in UIScrollView, but I want to check
I think I've encountered a bug in Params::Validate , but I'm not sure whether
I think I may have found a bug in WebMatrix's PageData, but I am
I'm not very used to programming with flags, but I think I just found
I think I have found a bug when setting or getting the Me.Top property
I think I may have found a bug in PHP's crypt() function under Windows.
I think I've just found a really strange bug... But it can just be
I think I may have found a bug with Google Chrome (16.0.912.75 m, the
After some grueling debugging, I think I have found a bug in the iPad
I think I found a bug in webkit: FF doesn't have a problem reporting

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.