Discussion Forums  >  Status Bar, Navigation Bar

Replies: 12    Views: 234

Antonios
Apple Fan
Profile
Posts: 381
Reg: Feb 12, 2013
Korinthos, Gree...
4,610
04/14/13 09:37 AM (11 years ago)

Bottom toolbar transparent

How can I make the bottom toolbar transparent? (transcluent as it is called?)
 
Kittsy
buzztouch Evangelist
Profile
Posts: 2251
Reg: Feb 22, 2012
Liverpool
31,360
like
04/14/13 12:45 PM (11 years ago)
More info georgios what plugin do you want to show a translucent toolbar
 
Antonios
Apple Fan
Profile
Posts: 381
Reg: Feb 12, 2013
Korinthos, Gree...
4,610
like
04/14/13 01:06 PM (11 years ago)
I don't use a specific plugin for the toolbar...I use the tabbed layout, but there isn't an option for a transcluent bar...I saw that option under theme settings but it doesn't work
 
Kittsy
buzztouch Evangelist
Profile
Posts: 2251
Reg: Feb 22, 2012
Liverpool
31,360
like
04/14/13 01:09 PM (11 years ago)
Do you mean the tab bar or the toolbar?
 
chris1
Code is Art
Profile
Posts: 3862
Reg: Aug 10, 2012
Austin, TX
50,120
like
04/14/13 01:24 PM (11 years ago)
definitely two different animals there. The tab bar is a view controller unto itself, and the main "window" you see when you load a screen is set to bump up against it, not go behind it. You'd need to come up with a whole new approach if you want a semi-transparent tab bar. Probably wouldn't be a UITabBar control.
 
Antonios
Apple Fan
Profile
Posts: 381
Reg: Feb 12, 2013
Korinthos, Gree...
4,610
like
04/14/13 01:33 PM (11 years ago)
I'm refering to the bottom toolbar, ( usually with the one with home button, settings etc!)...sorry for the misunderstanding...can anything be done to solve my problem?
 
chris1
Code is Art
Profile
Posts: 3862
Reg: Aug 10, 2012
Austin, TX
50,120
like
04/14/13 01:35 PM (11 years ago)
That's the tab bar - pretty hard to make it a semi-transparent overlay unless you really know what you're doing.
 
Kittsy
buzztouch Evangelist
Profile
Posts: 2251
Reg: Feb 22, 2012
Liverpool
31,360
like
04/14/13 01:45 PM (11 years ago)
Making it transparent is one line of code add this to line 55 in the btTabbarcontroller.m [[UITabBar appearance] setTintColor:[[UIColor alloc] initWithRed:0 green:0 blue:0 alpha:0.2]]; you can test this by changing the color of each background screen the problem you have is that the ui view is automatically placed above a tab bar so you wont get anything dragged through it. If you change alpha to 0.0 it will be completely transparent see what you can do
 
Antonios
Apple Fan
Profile
Posts: 381
Reg: Feb 12, 2013
Korinthos, Gree...
4,610
like
04/14/13 02:06 PM (11 years ago)
thank you guys... kitsy thank you for sharing these lines...I'll try and give you the results
 
chris1
Code is Art
Profile
Posts: 3862
Reg: Aug 10, 2012
Austin, TX
50,120
like
04/14/13 02:12 PM (11 years ago)
U might try looking at the BT_viewController.m and BT_viewControllerManager.m files. There may be a setting to extend the views down by the height of a tabbar. Otherwise you'll be making adjustments to every plugin you use to set frame heights of self.view
 
Antonios
Apple Fan
Profile
Posts: 381
Reg: Feb 12, 2013
Korinthos, Gree...
4,610
like
04/14/13 03:22 PM (11 years ago)
problem still exists…I'm afraid I can't do it totally transparent so it doesn't affect my background from the xib button menu plugin
 
chris1
Code is Art
Profile
Posts: 3862
Reg: Aug 10, 2012
Austin, TX
50,120
like
04/14/13 03:34 PM (11 years ago)
You could always turn off tabs and create one (or a mock one) and paste the code on each plugin.
 
Antonios
Apple Fan
Profile
Posts: 381
Reg: Feb 12, 2013
Korinthos, Gree...
4,610
like
04/14/13 03:50 PM (11 years ago)
thanks chris for the idea but unfortunately I'm not too familiar with code… :(
 

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.