Discussion Forums  >  Status Bar, Navigation Bar

Replies: 4    Views: 107

Faheem
Lost but trying
Profile
Posts: 25
Reg: Jan 16, 2013
London
2,300
02/13/13 02:19 PM (11 years ago)

Right Button in Top Navigation won't display Tabs

Hi, I've an application on which i am using tabbed layout and on some of the tabs I have home button on the navigation bar allowing users to go back to another tab or to another screen. When I click on the "right button" on the nevigation bar, on the new screen, tabs won't appear at the bottom of the screen. Is there a fix or way to keep tabs appearing at all time? Here is another post regarding the same issue: https://www.buzztouch.com/forum/thread.php?tid=B15D9C97A0D14D969288647&fid=A2F08DF30D5B47C3F930107&sortColumn=FT.id&sortUpDown=DESC&currentPage=1
 
SmugWimp
Smugger than thou...
Profile
Posts: 6316
Reg: Nov 07, 2012
Tamuning, GU
81,410
like
02/13/13 03:10 PM (11 years ago)
I haven't tried it, so please understand I'm just guessing here... Since the 'splash' will work, but it's not 'perfect'... Can you add a 'blank' splash screen, with a 'clear' background color and no delays as an 'interim' screen? Just asking... Cheers! -- Smug
 
chris1
Code is Art
Profile
Posts: 3862
Reg: Aug 10, 2012
Austin, TX
50,120
like
02/13/13 08:48 PM (11 years ago)
If you know how to override the code for the right menu button, you can force it to emulate a tab button press: BT_appDelegate *appDelegate = (BT_appDelegate *)[[UIApplication sharedApplication] delegate]; int lastTab = [appDelegate.rootApp.tabs count]; UITabBarController *tabBarController= self.tabBarController; int currentTab = tabBarController.selectedIndex; if (currentTab == lastTab) tabBarController.selectedIndex = 0; Just change the "BT_appDelegate" to "yourprojectname_appDelegate" and the selectedIndex to whatever tab number you want to go to. (Note that the first (left-most) tab is #0). Here's where I documented how to do this using swipes: http://www.buzztouch.com/forum/thread.php?tid=69431B6E4374691B680EA77&currentPage=5
 
Faheem
Lost but trying
Profile
Posts: 25
Reg: Jan 16, 2013
London
2,300
like
02/14/13 01:36 AM (11 years ago)
Thanks Chris. Will test it later.
 
tb
buzztouch Evangelist
Profile
Posts: 2050
Reg: Nov 03, 2011
Oxford
32,300
like
02/15/13 08:33 AM (11 years ago)
Hi Farheem, I'm getting together a group of UK members together to meet in Oxford to talk about pretty much everything buzztouch! So I realized that you're a UK chap and I just thought that I should invite you. Here's a link to some more details: http://www.buzztouch.com/forum/thread.php?tid=69AAB35C3418D1DFE64191A&currentPage=1
 

Login + Screen Name Required to Post

pointerLogin to participate so you can start earning points. Once you're logged in (and have a screen name entered in your profile), you can subscribe to topics, follow users, and start learning how to make apps like the pros.