Discussion Forums  >  Uncategorized

Replies: 8    Views: 365

MacApple
Apple Fan
Profile
Posts: 4675
Reg: Oct 25, 2010
USA
61,150
07/12/11 08:12 PM (14 years ago)

Possible 2 bugs in Cutter - One in Quiz and one in nav bar status between screens

Folks. Have an app that is live in App Store that has two possible bugs, same results in Simulator, test iPhone and now in downloadable from iTunes. 1st is the quiz, plain old freezes when you get to the end of the quiz, whether you have a scoreboard screen setup or not and whether you do 5 or 10 questions in quiz. Something has changed between the two lasts builds. I have a back button in the nav bar and the tabs remain accessible on the bottom so you can get out of quiz, doesn't cause a crash as such, just doesn't finish. 2nd Is in the nav bar properties when navigating between screens. I'm referring to the app above again, latest build, running on 4.3.3, Cutter. Home screen has 9 buttons 4 of which link to galleries. When you are on any of the galleries and start to scroll the nav bar disappears, whether you set to solid, transparent or whatever. Now if you click the home screen tab button, when the nav bar is not visible, on account of the gallery, the home screen maintains that status of the nav bar being gone. This is on iPhone with rotation prohibited, but the same thing happens when rotation is allowed. If however you click on the home button after clicking an image and invoking the nav bar to reappear the nav bar status is carried on back to the home page. Same applies if you dont start to scroll through gallery the back button in nav bar is still visible and both the home tab button and back button take you to the home screen with the nav bar and title visible. I've played around a fair bit trying to find fixes for these but can't figure it out. Any input would be great. Thanks in advance. Sláinte
 
MGoBlue
Apple Fan
Profile
Posts: 980
Reg: Jun 07, 2011
Gold River, CA
10,600
like
07/12/11 10:57 PM (14 years ago)
I've got 13 apps now that are completed but can't be submitted until the quiz function is fixed. I noticed the nav bar problem during testing on one of my apps, but haven't been able to duplicate it tonight. I just finished another app with several galleries, and all seem to be fine.
 
MacApple
Apple Fan
Profile
Posts: 4675
Reg: Oct 25, 2010
USA
61,150
like
07/13/11 04:34 AM (14 years ago)
Interesting re: Nav bar. Still trying to fix it.
 
David @ buzztouch
buzztouch Evangelist
Profile
Posts: 6866
Reg: Jan 01, 2010
Monterey, CA
78,840
like
07/14/11 12:10 AM (14 years ago)
OK guys...got the quiz figured out and fixed. No brainer on our end. The only affected file was BT_screen_quiz.m. You create re-download it, or add three lines of code to your existing file (the only three things we changed). Line 416: Add [self setQuizDidEnd:0]; just above [self performSelector:(@selector(loadData)) withObject:nil afterDelay:0.1]; (the quizDidEnd property needs to be initialized to zero here) Line 1107: Add [self setQuizDidEnd:1]; just above [self performSelector:@selector(quizEnded) withObject:nil afterDelay:quizQuestionDelay]; (the quizDidEnd property needs to be set to 1 here) Line 1141: Add [self setQuizDidEnd:1]; just above [self performSelector:@selector(quizEnded) withObject:nil afterDelay:quizQuestionDelay]; (the quizDidEnd property needs to be set to 1 here) Still looking into the nav bar issue. Sounds crazy! LOL
 
MacApple
Apple Fan
Profile
Posts: 4675
Reg: Oct 25, 2010
USA
61,150
like
07/14/11 04:17 AM (14 years ago)
Good man David, off to change the code. I swear it isnt just me being a fool. App in question here is New York Cloud, it's available in iTunes at moment, shouldn't have pushed it with bugs but hey.
 
MacApple
Apple Fan
Profile
Posts: 4675
Reg: Oct 25, 2010
USA
61,150
like
07/14/11 04:46 AM (14 years ago)
Dang, fixing the code in xcode but that'll still need a new upload to Apple, oh well. If you do get a chance have a wee peek at the app David, you'll see how the home screen inherits the nav bar status of previous gallery screen. Cheers again.
 
MGoBlue
Apple Fan
Profile
Posts: 980
Reg: Jun 07, 2011
Gold River, CA
10,600
like
07/14/11 06:05 AM (14 years ago)
Thanks for the quiz fix David. I figured it'd be an easy fix on your end. Much appreciated.
 
David @ buzztouch
buzztouch Evangelist
Profile
Posts: 6866
Reg: Jan 01, 2010
Monterey, CA
78,840
like
07/14/11 01:04 PM (14 years ago)
@ MacApple: I have duplicated the navigation bar issue. The problem is easy to undertstand but I can't seem to code a fix. Here's the sitch: You click a button on a button menu (the home screen in your example) that loads a gallery. Next, as you know, you naturally tap the photo of swipe the photo and this causes the navigation bar to hide. Going 'back' is normally done with the back button and it's this normal 'going back' behavior that we are skipping when we simply tap a tab in the tab-bar. So, tapping a tab when the nav bar is hidden keeps it hidden - the problem we are trying to fix. I can't seem to find a way to re-build the interface when a tab item is selected, iOS really wants to control this itself and not let us guys do anything special. We can trap when the tab is selected but we can't do much other than learn what tab was just clicked, etc, etc. So, it's the rebuilidng of the home screen of the selected tab that's causing the issue. One workaround, that you may already realize? is to hide the bottom tab bar when an image gallery loads from the button screen. This would force the user to use the back-button to get out of the gallery because the tabs are hidden when the gallery is displayed. I've verified that this works. Today, it's all I can come up with. I'll continue to try to figure this out but won't have a solution anytime soon. It may be that there is never a solution and this will just be the way it works, sort of a limitation of this design layout. Let me know if you come up with any ideas and I'll re-post if I do.
 
MacApple
Apple Fan
Profile
Posts: 4675
Reg: Oct 25, 2010
USA
61,150
like
07/14/11 01:22 PM (14 years ago)
Phenomenal David, thanks for looking into it, thought I was going mad. Really appreciate you confirming I'm not crazy, not on that front anyway. Had decided the only way to make it cool was to force the back button navigation which is fine and dandy anyway. Will dive in tonight when I finish my house chores and see if anything else can be done. Welcome back sir, hope the wee vacation was good for the soul etc. Funny thing about this app is even with all the downloads in first 36 hrs it seems to be teenagers uploading bizarre random pics, it's a hoot looking through them. Cheers again!
 

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.