Discussion Forums  >  Plugins, Customizing, Source Code

Replies: 3    Views: 195

Jaundice101
I hate code!
Profile
Posts: 19
Reg: Apr 12, 2012
Davis, CA
4,590
01/21/16 12:50 AM (8 years ago)

Interactive Quiz Freeze

Hey all, I've previously used the Interactive Quiz plugin without problem on prior iterations of my iOS app, but with the most recent update -- that includes no changes to the Interactive Quiz plugin itself aside from the addition of some more questions -- the app freezes shortly after the intro screen pops up. Curiously I can get it to move forward if I click on a small nondescript area immediately below the banner. Here are some of the debug messages I get from Xcode when it freezes: 2016-01-20 22:50:43.231 Micropedia[6154:98862] BT_application: screenType is BT_screen_quiz for screen with nickname: "Quizzle" and itemId: F973033462EFE8CF0CDE6AA 2016-01-20 22:50:43.231 Micropedia[6154:98862] BT_screen_menuListSimple: handleTapToLoadScreen (super) loading nickname: "Quizzle" itemId: F973033462EFE8CF0CDE6AA itemType: BT_screen_quiz 2016-01-20 22:50:43.232 Micropedia[6154:98862] BT_application: getViewControllerForScreen nickname: "Quizzle" itemId: F973033462EFE8CF0CDE6AA type: BT_screen_quiz 2016-01-20 22:50:43.232 Micropedia[6154:98862] BT_screen_quiz: INIT 2016-01-20 22:50:43.233 Micropedia[6154:98862] BT_navController: pushViewController 2016-01-20 22:50:43.237 Micropedia[6154:98862] BT_screen_menuListSimple: viewWillDisappear (super) 2016-01-20 22:50:43.237 Micropedia[6154:98862] BT_screen_menuListSimple: fadeOutOnExit (super): 2016-01-20 22:50:43.237 Micropedia[6154:98862] BT_screen_quiz: viewDidLoad 2016-01-20 22:50:43.238 Micropedia[6154:98862] BT_screen_quiz: viewDidLoad (super) 2016-01-20 22:50:43.251 Micropedia[6154:98862] BT_viewUtilities: getQuizToolBarForScreen with nickname: "Quizzle" and itemId: F973033462EFE8CF0CDE6AA and type: BT_screen_quiz 2016-01-20 22:50:43.252 Micropedia[6154:98862] BT_viewUtilities: setting quiz tool-bar background color: (null) 2016-01-20 22:50:43.254 Micropedia[6154:98862] BT_screen_quiz: viewWillAppear (super) 2016-01-20 22:50:43.254 Micropedia[6154:98862] BT_screen_quiz: configureNavBar (super) for screen with itemId: F973033462EFE8CF0CDE6AA 2016-01-20 22:50:43.255 Micropedia[6154:98862] BT_viewUtilities: getNavBarBackgroundColorForScreen: Screen "Quizzle" color: #FFF 2016-01-20 22:50:43.255 Micropedia[6154:98862] BT_screen_quiz: configureBackground (super) for screen with itemId F973033462EFE8CF0CDE6AA: 2016-01-20 22:50:43.255 Micropedia[6154:98862] BT_background_view: updateProperties (color and image) for screen with itemId: F973033462EFE8CF0CDE6AA: 2016-01-20 22:50:43.256 Micropedia[6154:98862] BT_fileManager: File does exist in Xcode bundle: "blank.png" 2016-01-20 22:50:43.256 Micropedia[6154:98862] BT_background_view: "blank.png" exists in Xcode bundle - not downloading. 2016-01-20 22:50:43.256 Micropedia[6154:98862] BT_background_view: setImage 2016-01-20 22:50:43.257 Micropedia[6154:98862] BT_screen_quiz: fadeInOnEntry (super): 2016-01-20 22:50:43.257 Micropedia[6154:98862] BT_screen_quiz: viewWillAppear 2016-01-20 22:50:43.785 Micropedia[6154:98862] BT_screen_quiz: viewWillAppear (super) 2016-01-20 22:50:43.785 Micropedia[6154:98862] BT_screen_quiz: configureNavBar (super) for screen with itemId: F973033462EFE8CF0CDE6AA 2016-01-20 22:50:43.786 Micropedia[6154:98862] BT_viewUtilities: getNavBarBackgroundColorForScreen: Screen "Quizzle" color: #FFF 2016-01-20 22:50:43.788 Micropedia[6154:98862] BT_screen_quiz: configureBackground (super) for screen with itemId F973033462EFE8CF0CDE6AA: 2016-01-20 22:50:43.789 Micropedia[6154:98862] BT_background_view: updateProperties (color and image) for screen with itemId: F973033462EFE8CF0CDE6AA: 2016-01-20 22:50:43.789 Micropedia[6154:98862] BT_fileManager: File does exist in Xcode bundle: "blank.png" 2016-01-20 22:50:43.789 Micropedia[6154:98862] BT_background_view: "blank.png" exists in Xcode bundle - not downloading. 2016-01-20 22:50:43.789 Micropedia[6154:98862] BT_background_view: setImage 2016-01-20 22:50:43.790 Micropedia[6154:98862] BT_screen_quiz: fadeInOnEntry (super): 2016-01-20 22:50:43.790 Micropedia[6154:98862] BT_screen_quiz: viewDidAppear 2016-01-20 22:50:43.891 Micropedia[6154:98862] BT_screen_quiz: loadData 2016-01-20 22:50:43.892 Micropedia[6154:98862] BT_screen_quiz: no dataURL found for this quiz screen 2016-01-20 22:50:43.892 Micropedia[6154:98862] BT_screen_quiz: layoutScreen Any help that can be provided is appreciated. Thanks.
 
Susan Metoxen
buzztouch Evangelist
Profile
Posts: 1706
Reg: May 01, 2011
Hopkins, Minnes...
26,260
like
01/21/16 09:22 AM (8 years ago)
In the quiz, one thing to look for is an unescaped character that is causing a problem. You can use the escape key (the \) in front of the character. I am not sure this is the problem, though, because I don't remember it causing a freeze, and what you found with the invisible button makes me think there is a layout problem. I would start by deleting the question that causes the freeze, if it is caused by one question.
 
AlanMac
Aspiring developer
Profile
Posts: 2612
Reg: Mar 05, 2012
Esher, UK
37,120
like
01/21/16 04:18 PM (8 years ago)
I would also suggest going back to an unmodified version of the quiz in your app as a test. If that does not work for you either, then it probably isn't your modifications. But in my experience, when you make mods, unexpected things happen....
 
Jaundice101
I hate code!
Profile
Posts: 19
Reg: Apr 12, 2012
Davis, CA
4,590
like
01/22/16 10:55 PM (8 years ago)
Thanks both for the suggestions. I'll give it a thorough look over again, and if nothing is clearly amiss retry with the older version.
 

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.