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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 10, 20262026-06-10T05:27:29+00:00 2026-06-10T05:27:29+00:00

I met with a problem. At first some code from AppDelegate. – (void)HideMainNavigationBar{ navigCtrl.navigationBarHidden

  • 0

I met with a problem. At first some code from AppDelegate.

 - (void)HideMainNavigationBar{
navigCtrl.navigationBarHidden = YES;
}

- (void)ShowMainNavigationBar{
navigCtrl.navigationBarHidden = NO;
}

navigCtrl is my navigation controller.
In my other View Controller I need hide my navigationBar and then show it, to display it correctly.

- (void) moviePlayerWillExitFullScreen:(id)sender {
   NSLog(@"exitfullscreen");
   AppDelegate *ptr = [AppDelegate SharedAppDelegate];
   [ptr HideMainNavigationBar];
   [ptr ShowMainNavigationBar];
}

After that, instead of my custom tabBarButton I saw Back button:

enter image description here

After tap ob Back button, it disappears, and I see my navigationBar again with my custom button. This ‘bug’ was detected in iOS 5.1, on iOS 4.3.2 everithing is ok.

This makes me crazy, help please.

P.S. I know, that I can use:

self.navigationController.navigationBar.frame = CGRectMake(0, 20, self.navigationController.navigationBar.frame.size.width, self.navigationController.navigationBar.frame.size.height);

to display navigationBar correctly, but i need to show/hide navigationBar to hide it, while rotating VideoPlayer.

Any ideas?
Wait your answers, 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-10T05:27:31+00:00Added an answer on June 10, 2026 at 5:27 am

    So, after some manipulations I decided simply to set alpha to my navigationBar.

    if (SYSTEM_VERSION_LESS_THAN(@"5"))  
                [ptr HideMainNavigationBar];
    else self.navigationController.navigationBar.alpha = 0;
    

    I hope it would be useful for someone. See ya.

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

Sidebar

Related Questions

In my application, I met a problem about visifire chart. I used the code
Recently I met a strange problem, see code snips as below: var sqlCommand: string;
I have some conditional calls from my code which starts same service with different
I want to make a PHP JSON data foreach, but I met some problem.
I want to insert some value from first and second foreach into database, but
I met strange problem. I have never work with Devise gem before. So, i
I met a problem when Call to a member function combinestring() on a non-object.
I met a problem which is very strange, my company uses Visual Source Safe
I met a problem when trying @Singleton of Guice: import com.google.inject.Singleton; @Singleton public class
In my customized function I met a strange problem. I'm writing a function to

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.