Discussion Forums  >  Uncategorized

Replies: 6    Views: 224

peter
I hate code!
Profile
Posts: 95
Reg: Jan 21, 2011
netherlands
1,250
05/27/11 12:08 AM (14 years ago)

Quiz without bottom bar

Hi all, The Quiz screen shows a bar at the bottom of the screen where the timer is displayed. When I disable the times, the bottom bar is still visible. None of my other screens have a bottom bar and I like to have a consistent look&feel in the app. Not a big issue...
 
David @ buzztouch
buzztouch Evangelist
Profile
Posts: 6866
Reg: Jan 01, 2010
Monterey, CA
78,840
like
05/27/11 12:23 AM (14 years ago)
Yes, the bottom bar does show on the quizzes regardless of whether or not it shows the timer. There are some technical reasons for this. However, you can easily hide it. You can't hide it using the control panel, you can hide it by making one simple adjustment: a) Open BT_Screens > BT_screen_quiz.m b) Scroll to line 326 and find this code: quizToolbar = [BT_viewUtilities getQuizToolBarForScreen:self:[self screenData]]; This is where the toolbar is created. Set the toolbar to hidden before it's added to the view like this: quizToolbar = [BT_viewUtilities getQuizToolBarForScreen:self:[self screenData]]; [quizToolbar setHidden:TRUE]; [self.view addSubview:quizToolbar]; Note the new line after the toolbar is created and before it is added to the subview. This is all you have to do. Note: All quizzes in this app will have a hidden toolbar regardless of what the control panel shows.
 
peter
I hate code!
Profile
Posts: 95
Reg: Jan 21, 2011
netherlands
1,250
like
05/27/11 12:25 AM (14 years ago)
Perfect ! Thanks again David!
 
cjbarnard
I hate code!
Profile
Posts: 34
Reg: Jan 10, 2011
UK
640
like
05/29/11 02:43 AM (14 years ago)
I want to remove the faders icon from the bottom right of the quiz screen. Will this do it? If I have already compiled and submitted to the app store will I have to resubmit?
 
David @ buzztouch
buzztouch Evangelist
Profile
Posts: 6866
Reg: Jan 01, 2010
Monterey, CA
78,840
like
05/29/11 11:12 AM (14 years ago)
Not sure what the 'faders' icon is?
 
cjbarnard
I hate code!
Profile
Posts: 34
Reg: Jan 10, 2011
UK
640
like
05/29/11 02:47 PM (14 years ago)
Theicon looks like a small mixing desk and takes you to a small insert window 'loading audio' but I do not want any audio so therefore do not need the icon. App name: nsbaorguk 1.5. app
 
David @ buzztouch
buzztouch Evangelist
Profile
Posts: 6866
Reg: Jan 01, 2010
Monterey, CA
78,840
like
05/29/11 11:10 PM (14 years ago)
Ah...makes perfect sense. The audio-control button should not show in the nav bar unless you have background audio configured for the quiz. Check the Advanced Settings of the quiz and remove the background audio file name or URL. If there is not background audio setup for the quiz, and the audio control button still shows in the footer, something's wrong! LOL
 

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.