Discussion Forums  >  Status Bar, Navigation Bar

Replies: 12    Views: 166

Dragon007
Lost but trying
Profile
Posts: 1509
Reg: Dec 17, 2011
London
20,590
04/10/13 02:23 PM (11 years ago)

Navigation Issues!

Hi I ran into a problem when developing an app. The problem I have is I want to build my apps without the navigation bar, only because I'm not a fan of the current one; but I do use the Tab Bar. But navigation is a real B**ch! Without the navigation bar it's hopeless, I really don't want to use the navigation bar but its looking like I have no choice. I guess my question is, how can I improve the navigation within the app without having to add the navigation bar back into certain pages, which means there is no consistency within the apps pages and design.
 
Kittsy
buzztouch Evangelist
Profile
Posts: 2251
Reg: Feb 22, 2012
Liverpool
31,360
like
04/10/13 02:28 PM (11 years ago)
could use swipe gestures, make buttons with back button menu tables with back button as the top field
 
Dragon007
Lost but trying
Profile
Posts: 1509
Reg: Dec 17, 2011
London
20,590
like
04/10/13 03:05 PM (11 years ago)
Kittsy, all sounds great, but I have no idea what you are talking about. Sounds like an idea though.
 
Kittsy
buzztouch Evangelist
Profile
Posts: 2251
Reg: Feb 22, 2012
Liverpool
31,360
like
04/10/13 03:09 PM (11 years ago)
i've wrote a swipe tutorial on the forum somewhere would solve your back button problem. But obviously wouldn't work with a carousel plugin
 
AlanMac
Aspiring developer
Profile
Posts: 2612
Reg: Mar 05, 2012
Esher, UK
37,120
like
04/10/13 03:18 PM (11 years ago)
 
Kittsy
buzztouch Evangelist
Profile
Posts: 2251
Reg: Feb 22, 2012
Liverpool
31,360
like
04/10/13 03:22 PM (11 years ago)
that was swift I'm sure I wrote a pdf one
 
Dragon007
Lost but trying
Profile
Posts: 1509
Reg: Dec 17, 2011
London
20,590
like
04/10/13 03:30 PM (11 years ago)
Send me PDF and I'll look at the link. Thanks guys!
 
AlanMac
Aspiring developer
Profile
Posts: 2612
Reg: Mar 05, 2012
Esher, UK
37,120
like
04/11/13 04:55 AM (11 years ago)
I think without a nav bar you will have a lot of UI navigation issues to overcome unless the app has very few pages. As a bit of lateral thinking, maybe consider transparency and an unobtrusive colours (not sure that you can do 'clear') for the nav bar?
 
Dragon007
Lost but trying
Profile
Posts: 1509
Reg: Dec 17, 2011
London
20,590
like
04/11/13 05:06 AM (11 years ago)
Yeah, I agree with you, tried looking into the transparency, but I want full transparency only showing top right and left buttons, but no one has a solution for this. I will need to give it some thought about how I design may apps in the future.
 
AlanMac
Aspiring developer
Profile
Posts: 2612
Reg: Mar 05, 2012
Esher, UK
37,120
like
04/11/13 05:17 AM (11 years ago)
Hacking into the code to make the navbar transparent sounds like Kittsy territory to me...
 
Kittsy
buzztouch Evangelist
Profile
Posts: 2251
Reg: Feb 22, 2012
Liverpool
31,360
like
04/11/13 05:34 AM (11 years ago)
add the code below under every instance of //setup navigation bar and background [BT_viewUtilities configureBackgroundAndNavBar:self theScreenData:[self screenData]]; in each plugin. a bit of a hack but it works const float colorMask[6] = {222, 255, 222, 255, 222, 255}; UIImage *img = [[UIImage alloc] init]; UIImage *maskedImage = [UIImage imageWithCGImage: CGImageCreateWithMaskingColors(img.CGImage, colorMask)]; [self.navigationController.navigationBar setBackgroundImage:maskedImage forBarMetrics:UIBarMetricsDefault]; if ([self.navigationController.navigationBar respondsToSelector:@selector(shadowImage)]) { [self.navigationController.navigationBar setShadowImage:[[[UIImage alloc] init] autorelease]]; // autorelease is necessary, or else [[UIImage alloc] init]'s retainCount is 2. }
 
Dragon007
Lost but trying
Profile
Posts: 1509
Reg: Dec 17, 2011
London
20,590
like
04/11/13 07:50 AM (11 years ago)
Kittsy I am renaming you to Yoda!
 
Kittsy
buzztouch Evangelist
Profile
Posts: 2251
Reg: Feb 22, 2012
Liverpool
31,360
like
04/11/13 07:53 AM (11 years ago)
it's just a snippet I found of stackoverflow a while ago
 

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.