Discussion Forums  >  Plugins, Customizing, Source Code

Replies: 9    Views: 56

armacfan
Apple Fan
Profile
Posts: 157
Reg: Sep 05, 2011
location unknow...
3,520
12/18/12 03:23 AM (13 years ago)

Hide Bottom bar and audio controls

Hi. I created an Custom HTML/Text screen that I require to have an image with background audio. The problem is that the bottom bar (tab bar) that I don't require in anyway throughout my app, comes in the way of my image. I would like to get rid of that bar as well as the audio controls as my audio files are only a few seconds long. I would like for the audio to play with just the image. Is there also anyway I can disable the two for my whole app, so that I don't have to do it each time. Thank you.
 
Mackimack
Apple Fan
Profile
Posts: 481
Reg: Dec 30, 2010
Sweden
14,310
like
12/18/12 04:50 AM (13 years ago)
if you have you app connect to CP is not possible to add. If you have a offline app. You can add this line in your Json Config file under you custom screen item. "hideBottomTabBarWhenScreenLoads":"1",
 
armacfan
Apple Fan
Profile
Posts: 157
Reg: Sep 05, 2011
location unknow...
3,520
like
12/18/12 05:06 AM (13 years ago)
This might seem like a stupid question but can you tell me where exactly I'm supposed to go to enter this code : "hideBottomTabBarWhenScreenLoads":"1", and also in which place i.e the position of it .. Thank you
 
Mackimack
Apple Fan
Profile
Posts: 481
Reg: Dec 30, 2010
Sweden
14,310
like
12/18/12 05:16 AM (13 years ago)
"itemType":"BT_screen_htmlDoc", "itemNickname":"My html", "navBarTitleText":"My html", "localFileName":"my.html", "showBrowserBarBack":"1", "showBrowserBarLaunchInNativeApp":"1", "backgroundColor":"#ffffff","hideBottomTabBarWhenScreenLoads":"1"} add it after background color, if you add it last you don´t need commas.
 
armacfan
Apple Fan
Profile
Posts: 157
Reg: Sep 05, 2011
location unknow...
3,520
like
12/18/12 05:24 AM (13 years ago)
Am I supposed to go to config data on buzz touch and do it there and how do I save in my config data there?
 
Mackimack
Apple Fan
Profile
Posts: 481
Reg: Dec 30, 2010
Sweden
14,310
like
12/18/12 05:40 AM (13 years ago)
yes! But if you have your app connected to CP when you have posted to App Store. it will not work.
 
armacfan
Apple Fan
Profile
Posts: 157
Reg: Sep 05, 2011
location unknow...
3,520
like
12/18/12 05:46 AM (13 years ago)
Thank you, I'll try it out
 
armacfan
Apple Fan
Profile
Posts: 157
Reg: Sep 05, 2011
location unknow...
3,520
like
12/18/12 07:00 AM (13 years ago)
I've tried everything but it doesn't work, from what I see on the forum it looks like I need The JSON snippet keeper plugin to edit any JSON data on my CP, there is no option to edit JSON on the buzz touch CP unless you have that plugin and I can't do it from my Xcode project. If there is a way to do it in my Xcode project by disabling any audio controls etc, please assist me. I really want to make this work. Thank you
 
Mackimack
Apple Fan
Profile
Posts: 481
Reg: Dec 30, 2010
Sweden
14,310
like
12/18/12 07:23 AM (13 years ago)
Delete your app in your simulator. Clean your xcode project. go to your Json file. add 1111 after dataURL like this "dataURL11111": Now your app is Offline. No you go to your screen in Json file and add the line I send you. And see if it works.
 
armacfan
Apple Fan
Profile
Posts: 157
Reg: Sep 05, 2011
location unknow...
3,520
like
12/18/12 08:20 AM (13 years ago)
Thank you so much for your help, but it still doesn't work, I only wish there was something else that doesn't involve the JSON data + online,offline toggling frequently. I know it is quite frustrating and I'm not sure what to do. Thank you.
 

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.