Discussion Forums  >  Plugins, Customizing, Source Code

Replies: 12    Views: 114

nadthevlad
Code is Art
Profile
Posts: 1025
Reg: Jun 07, 2012
Denver
21,850
03/27/13 09:06 PM (12 years ago)

action sheet gets called twice

I am setting up game center in a quiz plugin. When I return to the app from gamecenter I end up getting a double action sheet which I have to press twice to clear. Any insights are appreciated. http://www.youtube.com/watch?v=QrY1Awt3RX0
 
nadthevlad
Code is Art
Profile
Posts: 1025
Reg: Jun 07, 2012
Denver
21,850
like
03/27/13 09:53 PM (12 years ago)
NAD_Scrollable_mc_quiz: @@@Calling quiz ended### 2013-03-27 22:28:35.353 nrcgfe[14583:c07] NAD_Scrollable_mc_quiz: quizEnded 2013-03-27 22:28:36.342 nrcgfe[14583:c07] NAD_Scrollable_mc_quiz: !!!action sheet callecd!!! 2013-03-27 22:28:36.343 nrcgfe[14583:c07] NAD_Scrollable_mc_quiz: show Finish Screen 2013-03-27 22:28:36.343 nrcgfe[14583:c07] BT_application: getScreenDataByNickname menuimage 2013-03-27 22:28:36.343 nrcgfe[14583:c07] BT_application: screenType is WB_screen_menuImage for screen with nickname: menuimage 2013-03-27 22:28:36.344 nrcgfe[14583:c07] BT_viewControllerManager: handleTapToLoadScreen 2013-03-27 22:28:36.344 nrcgfe[14583:c07] BT_viewControllerManager: the parent screen nickname: "5q" itemId: 3A662556A547395B8F4D08B itemType: NAD_Scrollable_mc_quiz 2013-03-27 22:28:36.344 nrcgfe[14583:c07] BT_viewControllerManager: the menu/button tapped is itemId: 0 2013-03-27 22:28:36.345 nrcgfe[14583:c07] BT_viewControllerManager: the screen to load is nickname: "menuimage" itemId: 5316A551F55842A4220E0BB itemType: WB_screen_menuImage 2013-03-27 22:28:36.345 nrcgfe[14583:c07] BT_viewControllerManager: initViewControllerForScreen nickname: "menuimage" itemId: 5316A551F55842A4220E0BB type: WB_screen_menuImage 2013-03-27 22:28:36.345 nrcgfe[14583:c07] WB_screen_menuImage: INIT 2013-03-27 22:28:36.346 nrcgfe[14583:c07] BT_navigationController: pushViewController 2013-03-27 22:28:36.346 nrcgfe[14583:c07] BT_navigationController: pushViewController for screen: 5316A551F55842A4220E0BB 2013-03-27 22:28:36.347 nrcgfe[14583:c07] WB_screen_menuImage: viewDidLoad 2013-03-27 22:28:36.347 nrcgfe[14583:c07] BT_viewUtilities: getTableViewForScreen with nickname: "menuimage" and itemId: 5316A551F55842A4220E0BB and type: WB_screen_menuImage 2013-03-27 22:28:36.348 nrcgfe[14583:c07] BT_fileManager: File does exist in Xcode bundle: cherenkov.png 2013-03-27 22:28:36.348 nrcgfe[14583:c07] NAD_Scrollable_mc_quiz: viewWillDisappear in BT_viewController BASE CLASS 2013-03-27 22:28:36.349 nrcgfe[14583:c07] WB_screen_menuImage: viewWillAppear 2013-03-27 22:28:36.349 nrcgfe[14583:c07] BT_viewUtilities: configureBackgroundAndNavBar for screen with nickname: "menuimage" and itemId: 5316A551F55842A4220E0BB and type: WB_screen_menuImage 2013-03-27 22:28:36.351 nrcgfe[14583:c07] BT_fileManager: File does exist in Xcode bundle: chrom.png 2013-03-27 22:28:36.351 nrcgfe[14583:c07] BT_background_view: Image for background view exists in Xcode bundle - not downloading. 2013-03-27 22:28:36.352 nrcgfe[14583:c07] BT_background_view: setImage 2013-03-27 22:28:36.352 nrcgfe[14583:c07] nrcgfe_appDelegate: supportedInterfaceOrientationsForWindow 2013-03-27 22:28:36.353 nrcgfe[14583:c07] WB_screen_menuImage: canBecomeFirstResponder in BT_viewController BASE CLASS 2013-03-27 22:28:36.354 nrcgfe[14583:c07] NAD_Scrollable_mc_quiz: Continue Tapped 2013-03-27 22:28:36.452 nrcgfe[14583:c07] WB_screen_menuImage: loadData 2013-03-27 22:28:36.453 nrcgfe[14583:c07] WB_screen_menuImage: using menu items from the screens configuration data. 2013-03-27 22:28:36.453 nrcgfe[14583:c07] WB_screen_menuImage: layoutScreen 2013-03-27 22:28:36.709 nrcgfe[14583:c07] WB_screen_menuImage: viewDidAppear in BT_viewController BASE CLASS 2013-03-27 22:28:37.121 nrcgfe[14583:c07] NAD_Scrollable_mc_quiz: !!!action sheet callecd!!! 2013-03-27 22:28:37.121 nrcgfe[14583:c07] NAD_Scrollable_mc_quiz: show Finish Screen 2013-03-27 22:28:37.121 nrcgfe[14583:c07] BT_application: getScreenDataByNickname menuimage 2013-03-27 22:28:37.122 nrcgfe[14583:c07] BT_application: screenType is WB_screen_menuImage for screen with nickname: menuimage 2013-03-27 22:28:37.122 nrcgfe[14583:c07] BT_viewControllerManager: handleTapToLoadScreen 2013-03-27 22:28:37.122 nrcgfe[14583:c07] BT_viewControllerManager: the parent screen nickname: "5q" itemId: 3A662556A547395B8F4D08B itemType: NAD_Scrollable_mc_quiz 2013-03-27 22:28:37.123 nrcgfe[14583:c07] BT_viewControllerManager: the menu/button tapped is itemId: 0 2013-03-27 22:28:37.123 nrcgfe[14583:c07] BT_viewControllerManager: the screen to load is nickname: "menuimage" itemId: 5316A551F55842A4220E0BB itemType: WB_screen_menuImage 2013-03-27 22:28:37.124 nrcgfe[14583:c07] BT_viewControllerManager: initViewControllerForScreen nickname: "menuimage" itemId: 5316A551F55842A4220E0BB type: WB_screen_menuImage
 
SmugWimp
Smugger than thou...
Profile
Posts: 6316
Reg: Nov 07, 2012
Tamuning, GU
81,410
like
03/28/13 12:41 AM (12 years ago)
Are 'you' calling the action screen? comment yours out and see if it still pops up; maybe it's being called in another module somewhere... Just a guess... I'm curious to see a few lines before the first '!!action sheet called!! to see if there are any similar areas... Cheers! -- Smug
 
Kittsy
buzztouch Evangelist
Profile
Posts: 2251
Reg: Feb 22, 2012
Liverpool
31,360
like
03/28/13 04:41 AM (12 years ago)
you are launching the [self endquiz]; method somewhere extra you shouldn't edit you using that invisible facebook plugin, although it doesn't look like it but it is taking you away from your screen, so the action sheet is open you press face book action sheet stays open you move to the next screen, enter your facebook details when you return it thinks its just going back so launches the same method. this leads to duplicates, I would personally hardcode the facebook stuff.
 
nadthevlad
Code is Art
Profile
Posts: 1025
Reg: Jun 07, 2012
Denver
21,850
like
03/28/13 10:11 AM (12 years ago)
I probably should have posted the relevant code. // this code is in the quizEnded method // initialize UIAction sheet UIActionSheet *actionSheet = [[UIActionSheet alloc] initWithTitle:quizResultMessage delegate:self cancelButtonTitle:nil destructiveButtonTitle:nil otherButtonTitles: nil]; //add the buttons to the action sheet for (int i = 0; i < [_finishedButtons count]; i++) { [actionSheet addButtonWithTitle:[_finishedButtons objectAtIndex:i]]; } actionSheet.destructiveButtonIndex = [_finishedButtons count]; [actionSheet setActionSheetStyle:UIActionSheetStyleBlackOpaque]; //[actionSheet showInView:self.view]; //is this a tabbed app? if([appDelegate.rootApp.tabs count] > 0){ actionSheet showFromTabBar:[appDelegate.rootApp.rootTabBarController tabBar]]; }else{ [actionSheet showInView:self.view]; } [actionSheet release]; ------------------------------------------------------- -(void)actionSheet:(UIActionSheet *)actionSheet clickedButtonAtIndex:(NSInteger)buttonIndex { [BT_debugger showIt:self theMessage:@"!!!action sheet called!!!"]; NSString *buttonTitle = [actionSheet buttonTitleAtIndex:buttonIndex]; //quit only used if no finished or reward screen present if([buttonTitle isEqual:NSLocalizedString(@"quit", @"Quit")]){ // if no finish screen then send back to rootviewcontroller [self.navigationController popToRootViewControllerAnimated:YES]; [BT_debugger showIt:self theMessage:@"Quit tapped"]; } //show reward if([buttonTitle isEqual:NSLocalizedString(@"quizShowReward", @"Show Reward")]){ [self showQuizRewardScreen]; [BT_debugger showIt:self theMessage:@"Show Reward Tapped"]; } //show continue if([buttonTitle isEqual:NSLocalizedString(@"continue", @"Continue")]){ [self showFinishScreen]; [BT_debugger showIt:self theMessage:@"Continue Tapped"]; } //show game center if([buttonTitle isEqual:NSLocalizedString(@"Game Center", @"Game Center")]){ [BT_debugger showIt:self theMessage:@"game center tapped"]; [self showGameCenter]; } }
 
nadthevlad
Code is Art
Profile
Posts: 1025
Reg: Jun 07, 2012
Denver
21,850
like
03/28/13 10:16 AM (12 years ago)
Here is the FULL console output for smupwimp 2013-03-28 11:14:36.184 nrcgfe[15882:c07] nrcgfe_appDelegate: Using the default BT_config.txt. 2013-03-28 11:14:36.186 nrcgfe[15882:c07] BT_application: initializing buzztouch application 2013-03-28 11:14:36.187 nrcgfe[15882:c07] BT_device: INIT 2013-03-28 11:14:36.187 nrcgfe[15882:c07] BT_device: Unique UUID exists. 2013-03-28 11:14:36.188 nrcgfe[15882:c07] BT_device: This device is NOT an iPad. 2013-03-28 11:14:36.188 nrcgfe[15882:c07] BT_device: This device can make phone calls 2013-03-28 11:14:36.192 nrcgfe[15882:c07] BT_device: This device can send emails 2013-03-28 11:14:36.193 nrcgfe[15882:c07] BT_device: This device can send SMS 2013-03-28 11:14:36.195 nrcgfe[15882:c07] BT_device: This device can report it's location 2013-03-28 11:14:36.195 nrcgfe[15882:c07] BT_device: This device cannot take pictures or videos 2013-03-28 11:14:36.196 nrcgfe[15882:c07] BT_user: INIT 2013-03-28 11:14:36.197 nrcgfe[15882:c07] BT_networkState: INIT 2013-03-28 11:14:36.199 nrcgfe[15882:c07] BT_networkState: Monitoring Connection: WiFi Not Available 2013-03-28 11:14:36.200 nrcgfe[15882:c07] BT_networkState: Monitoring Connection: WiFi Available 2013-03-28 11:14:36.245 nrcgfe[15882:c07] BT_networkState: Monitoring Connection: WiFi Available 2013-03-28 11:14:36.247 nrcgfe[15882:c07] nrcgfe_appDelegate: refreshAppData 2013-03-28 11:14:36.247 nrcgfe[15882:4703] nrcgfe_appDelegate: loadSoundEffects SEE appDelegete.m, line 924 2013-03-28 11:14:36.247 nrcgfe[15882:420b] nrcgfe_appDelegate: initAudioPlayer in background thread 2013-03-28 11:14:36.249 nrcgfe[15882:c07] BT_fileManager: File does exist in cached directory: cachedAppConfig.txt 2013-03-28 11:14:36.249 nrcgfe[15882:420b] BT_audioPlayer: INIT (preparing it for possible background audio) 2013-03-28 11:14:36.249 nrcgfe[15882:c07] BT_fileManager: readTextFileFromCacheWithEncoding: cachedAppConfig.txt encoding: -1 2013-03-28 11:14:36.251 nrcgfe[15882:c07] BT_fileManager: File does exist in Xcode bundle: BT_config.txt 2013-03-28 11:14:36.252 nrcgfe[15882:c07] BT_fileManager: readTextFileFromBundleWithEncoding: BT_config.txt encoding: -1 2013-03-28 11:14:36.255 nrcgfe[15882:c07] nrcgfe_appDelegate: Using configuration data from application cache. 2013-03-28 11:14:36.255 nrcgfe[15882:c07] BT_application: validateApplicationData 2013-03-28 11:14:36.257 nrcgfe[15882:c07] BT_application: The application data appears to be valid. 2013-03-28 11:14:36.257 nrcgfe[15882:c07] nrcgfe_appDelegate: configureEnvironmentUsingAppData 2013-03-28 11:14:36.258 nrcgfe[15882:c07] BT_application: parseJSONData: parsing application data 2013-03-28 11:14:36.260 nrcgfe[15882:c07] BT_application: parsing themes, count: 1 2013-03-28 11:14:36.261 nrcgfe[15882:c07] BT_application: parsing tabs, count: 0 2013-03-28 11:14:36.261 nrcgfe[15882:c07] BT_application: parsing screens, count: 19 2013-03-28 11:14:36.261 nrcgfe[15882:c07] BT_application: buildInterface app interface 2013-03-28 11:14:36.262 nrcgfe[15882:c07] BT_application: building a single navigation controller app 2013-03-28 11:14:36.262 nrcgfe[15882:c07] BT_viewControllerManager: initViewControllerForScreen nickname: "menuimage" itemId: 5316A551F55842A4220E0BB type: WB_screen_menuImage 2013-03-28 11:14:36.263 nrcgfe[15882:c07] WB_screen_menuImage: INIT 2013-03-28 11:14:36.263 nrcgfe[15882:c07] WB_screen_menuImage: viewDidLoad 2013-03-28 11:14:36.263 nrcgfe[15882:c07] BT_viewUtilities: getTableViewForScreen with nickname: "menuimage" and itemId: 5316A551F55842A4220E0BB and type: WB_screen_menuImage 2013-03-28 11:14:36.265 nrcgfe[15882:c07] BT_fileManager: File does exist in Xcode bundle: cherenkov.png 2013-03-28 11:14:36.267 nrcgfe[15882:c07] BT_navigationController: pushViewController 2013-03-28 11:14:36.267 nrcgfe[15882:c07] BT_navigationController: pushViewController for screen: 5316A551F55842A4220E0BB 2013-03-28 11:14:36.268 nrcgfe[15882:c07] BT_application: This app does not use a splash screen 2013-03-28 11:14:36.269 nrcgfe[15882:c07] BT_application: App has "Start Location Updates" set to "No". App is NOT starting the location monitor. 2013-03-28 11:14:36.269 nrcgfe[15882:c07] BT_background_view: INIT 2013-03-28 11:14:36.270 nrcgfe[15882:c07] BT_fileManager: File does exist in Xcode bundle: blank.png 2013-03-28 11:14:36.270 nrcgfe[15882:c07] BT_background_view: Image for background view exists in Xcode bundle - not downloading. 2013-03-28 11:14:36.272 nrcgfe[15882:c07] BT_background_view: setImage 2013-03-28 11:14:36.272 nrcgfe[15882:c07] nrcgfe_appDelegate: supportedInterfaceOrientationsForWindow 2013-03-28 11:14:36.273 nrcgfe[15882:c07] nrcgfe_appDelegate: supportedInterfaceOrientationsForWindow 2013-03-28 11:14:36.273 nrcgfe[15882:c07] nrcgfe_appDelegate: supportedInterfaceOrientationsForWindow 2013-03-28 11:14:36.274 nrcgfe[15882:c07] nrcgfe_appDelegate: supportedInterfaceOrientationsForWindow 2013-03-28 11:14:36.275 nrcgfe[15882:c07] WB_screen_menuImage: viewWillAppear 2013-03-28 11:14:36.275 nrcgfe[15882:c07] BT_viewUtilities: configureBackgroundAndNavBar for screen with nickname: "menuimage" and itemId: 5316A551F55842A4220E0BB and type: WB_screen_menuImage 2013-03-28 11:14:36.283 nrcgfe[15882:c07] BT_fileManager: File does exist in Xcode bundle: chrom.png 2013-03-28 11:14:36.284 nrcgfe[15882:c07] BT_background_view: Image for background view exists in Xcode bundle - not downloading. 2013-03-28 11:14:36.286 nrcgfe[15882:c07] BT_background_view: setImage 2013-03-28 11:14:36.286 nrcgfe[15882:c07] WB_screen_menuImage: viewWillAppear 2013-03-28 11:14:36.287 nrcgfe[15882:c07] BT_viewUtilities: configureBackgroundAndNavBar for screen with nickname: "menuimage" and itemId: 5316A551F55842A4220E0BB and type: WB_screen_menuImage 2013-03-28 11:14:36.289 nrcgfe[15882:c07] BT_fileManager: File does exist in Xcode bundle: chrom.png 2013-03-28 11:14:36.289 nrcgfe[15882:c07] BT_background_view: Image for background view exists in Xcode bundle - not downloading. 2013-03-28 11:14:36.290 nrcgfe[15882:c07] BT_background_view: setImage 2013-03-28 11:14:36.290 nrcgfe[15882:c07] nrcgfe_appDelegate: supportedInterfaceOrientationsForWindow 2013-03-28 11:14:36.291 nrcgfe[15882:c07] WB_screen_menuImage: canBecomeFirstResponder in BT_viewController BASE CLASS 2013-03-28 11:14:36.292 nrcgfe[15882:c07] nrcgfe_appDelegate: supportedInterfaceOrientationsForWindow 2013-03-28 11:14:36.293 nrcgfe[15882:c07] nrcgfe_appDelegate: supportedInterfaceOrientationsForWindow 2013-03-28 11:14:36.293 nrcgfe[15882:c07] nrcgfe_appDelegate: supportedInterfaceOrientationsForWindow 2013-03-28 11:14:36.293 nrcgfe[15882:c07] nrcgfe_appDelegate: hideProgress 2013-03-28 11:14:36.294 nrcgfe[15882:c07] Scringo - ... Starting Scringo 2.0.18 2013-03-28 11:14:36.294 nrcgfe[15882:c07] Scringo - startSession called: firstTime = 1 2013-03-28 11:14:36.296 nrcgfe[15882:c07] Scringo - Cannot find fbAppId in plist 2013-03-28 11:14:36.297 nrcgfe[15882:c07] Scringo - Init FB with fbAppId=(null) 2013-03-28 11:14:36.297 nrcgfe[15882:c07] Scringo - Location services are not enabled or Radar is disabled 2013-03-28 11:14:36.298 nrcgfe[15882:c07] Scringo (W) - new user Id should be created. userId = (null), user.appId=YOUR_SCRINGO_APP_ID 2013-03-28 11:14:36.298 nrcgfe[15882:c07] Scringo - Reachability Flag Status: -R -----l- networkStatusForFlags 2013-03-28 11:14:36.301 nrcgfe[15882:c07] nrcgfe_appDelegate: applicationDidBecomeActive 2013-03-28 11:14:37.069 nrcgfe[15882:c07] Scringo (E) - Scringo - Got error: INVALID_APP_ID 2013-03-28 11:14:37.069 nrcgfe[15882:c07] Scringo (E) - Scringo - Got error: INVALID_APP_ID 2013-03-28 11:14:37.070 nrcgfe[15882:c07] nrcgfe_appDelegate: lastModified (value on server): Thu, 28 Mar 2013 03:44:20 -0700 2013-03-28 11:14:37.070 nrcgfe[15882:c07] BT_fileManager: File does exist in cached directory: appModified.txt 2013-03-28 11:14:37.071 nrcgfe[15882:c07] BT_fileManager: readTextFileFromCacheWithEncoding: appModified.txt encoding: -1 2013-03-28 11:14:37.073 nrcgfe[15882:c07] nrcgfe_appDelegate: previousModified (value on device): Thu, 28 Mar 2013 03:44:20 -0700 2013-03-28 11:14:37.073 nrcgfe[15882:c07] BT_fileManager: saveTextFileToCacheWithEncoding: appModified.txt encodingFlag: -1 2013-03-28 11:14:37.086 nrcgfe[15882:c07] WB_screen_menuImage: loadData 2013-03-28 11:14:37.087 nrcgfe[15882:c07] WB_screen_menuImage: using menu items from the screens configuration data. 2013-03-28 11:14:37.087 nrcgfe[15882:c07] WB_screen_menuImage: layoutScreen 2013-03-28 11:14:37.087 nrcgfe[15882:c07] nrcgfe_appDelegate: reportToCloud 2013-03-28 11:14:37.132 nrcgfe[15882:c07] WB_screen_menuImage: viewDidAppear in BT_viewController BASE CLASS 2013-03-28 11:14:37.132 nrcgfe[15882:c07] WB_screen_menuImage: viewDidAppear in BT_viewController BASE CLASS 2013-03-28 11:14:38.378 nrcgfe[15882:c07] nrcgfe_appDelegate: lastModified (value on server): Thu, 28 Mar 2013 03:44:20 -0700 2013-03-28 11:14:38.378 nrcgfe[15882:c07] BT_fileManager: File does exist in cached directory: appModified.txt 2013-03-28 11:14:38.379 nrcgfe[15882:c07] BT_fileManager: readTextFileFromCacheWithEncoding: appModified.txt encoding: -1 2013-03-28 11:14:38.380 nrcgfe[15882:c07] nrcgfe_appDelegate: previousModified (value on device): Thu, 28 Mar 2013 03:44:20 -0700 2013-03-28 11:14:38.380 nrcgfe[15882:c07] BT_fileManager: saveTextFileToCacheWithEncoding: appModified.txt encodingFlag: -1 2013-03-28 11:14:47.696 nrcgfe[15882:c07] WB_screen_menuImage: didSelectRowAtIndexPath: Selected Row: 0 2013-03-28 11:14:47.696 nrcgfe[15882:c07] BT_application: getScreenDataByItemId 23C4342F86E0073E8607289 2013-03-28 11:14:47.697 nrcgfe[15882:c07] BT_application: screenType is BTA_design_menu for screen with nickname: "PWR" and itemId: 23C4342F86E0073E8607289 2013-03-28 11:14:47.697 nrcgfe[15882:c07] BT_viewControllerManager: handleTapToLoadScreen 2013-03-28 11:14:47.697 nrcgfe[15882:c07] BT_viewControllerManager: the parent screen nickname: "menuimage" itemId: 5316A551F55842A4220E0BB itemType: WB_screen_menuImage 2013-03-28 11:14:47.698 nrcgfe[15882:c07] BT_viewControllerManager: the menu/button tapped is itemId: 9021DB1F78911B0D0B9E001 2013-03-28 11:14:47.698 nrcgfe[15882:c07] BT_viewControllerManager: the screen to load is nickname: "PWR" itemId: 23C4342F86E0073E8607289 itemType: BTA_design_menu 2013-03-28 11:14:47.699 nrcgfe[15882:c07] BT_viewControllerManager: initViewControllerForScreen nickname: "PWR" itemId: 23C4342F86E0073E8607289 type: BTA_design_menu 2013-03-28 11:14:47.699 nrcgfe[15882:c07] BTA_design_menu: INIT 2013-03-28 11:14:47.699 nrcgfe[15882:c07] BT_navigationController: pushViewController 2013-03-28 11:14:47.700 nrcgfe[15882:c07] BT_navigationController: pushViewController for screen: 23C4342F86E0073E8607289 2013-03-28 11:14:47.700 nrcgfe[15882:c07] BTA_design_menu: viewDidLoad 2013-03-28 11:14:47.700 nrcgfe[15882:c07] BT_viewUtilities: getTableViewForScreen with nickname: "PWR" and itemId: 23C4342F86E0073E8607289 and type: BTA_design_menu 2013-03-28 11:14:47.701 nrcgfe[15882:c07] WB_screen_menuImage: viewWillDisappear in BT_viewController BASE CLASS 2013-03-28 11:14:47.702 nrcgfe[15882:c07] BTA_design_menu: viewWillAppear 2013-03-28 11:14:47.702 nrcgfe[15882:c07] BT_viewUtilities: configureBackgroundAndNavBar for screen with nickname: "PWR" and itemId: 23C4342F86E0073E8607289 and type: BTA_design_menu 2013-03-28 11:14:47.706 nrcgfe[15882:c07] BT_fileManager: File does exist in Xcode bundle: chrom.png 2013-03-28 11:14:47.706 nrcgfe[15882:c07] BT_background_view: Image for background view exists in Xcode bundle - not downloading. 2013-03-28 11:14:47.706 nrcgfe[15882:c07] BT_background_view: setImage 2013-03-28 11:14:47.707 nrcgfe[15882:c07] nrcgfe_appDelegate: supportedInterfaceOrientationsForWindow 2013-03-28 11:14:47.707 nrcgfe[15882:c07] BTA_design_menu: canBecomeFirstResponder in BT_viewController BASE CLASS 2013-03-28 11:14:47.807 nrcgfe[15882:c07] BTA_design_menu: loadData 2013-03-28 11:14:47.808 nrcgfe[15882:c07] BTA_design_menu: using menu items from the screens configuration data. 2013-03-28 11:14:47.808 nrcgfe[15882:c07] BTA_design_menu: layoutScreen 2013-03-28 11:14:48.065 nrcgfe[15882:c07] BTA_design_menu: viewDidAppear in BT_viewController BASE CLASS 2013-03-28 11:14:48.696 nrcgfe[15882:c07] BTA_design_menu: didSelectRowAtIndexPath: Selected Row: 0 2013-03-28 11:14:48.696 nrcgfe[15882:c07] BT_application: getScreenDataByItemId 177FE301D67D28F3CAEE437 2013-03-28 11:14:48.696 nrcgfe[15882:c07] BT_application: screenType is CR_animated_circlemenu for screen with nickname: "Breakers Relays Disconnects PWR" and itemId: 177FE301D67D28F3CAEE437 2013-03-28 11:14:48.697 nrcgfe[15882:c07] BT_viewControllerManager: handleTapToLoadScreen 2013-03-28 11:14:48.697 nrcgfe[15882:c07] BT_viewControllerManager: the parent screen nickname: "PWR" itemId: 23C4342F86E0073E8607289 itemType: BTA_design_menu 2013-03-28 11:14:48.697 nrcgfe[15882:c07] BT_viewControllerManager: the menu/button tapped is itemId: 37FBF40D1DF75AF2D389172 2013-03-28 11:14:48.697 nrcgfe[15882:c07] BT_viewControllerManager: the screen to load is nickname: "Breakers Relays Disconnects PWR" itemId: 177FE301D67D28F3CAEE437 itemType: CR_animated_circlemenu 2013-03-28 11:14:48.698 nrcgfe[15882:c07] BT_viewControllerManager: initViewControllerForScreen nickname: "Breakers Relays Disconnects PWR" itemId: 177FE301D67D28F3CAEE437 type: CR_animated_circlemenu 2013-03-28 11:14:48.698 nrcgfe[15882:c07] CR_animated_circlemenu: INIT 2013-03-28 11:14:48.699 nrcgfe[15882:c07] BT_navigationController: pushViewController 2013-03-28 11:14:48.699 nrcgfe[15882:c07] BT_navigationController: pushViewController for screen: 177FE301D67D28F3CAEE437 2013-03-28 11:14:48.699 nrcgfe[15882:c07] loadView running 2013-03-28 11:14:48.700 nrcgfe[15882:c07] initializing menu values: 2013-03-28 11:14:48.700 nrcgfe[15882:c07] menuSize = 275 2013-03-28 11:14:48.700 nrcgfe[15882:c07] buttonSize = 80 2013-03-28 11:14:48.700 nrcgfe[15882:c07] center img is:centerButton2.png 2013-03-28 11:14:48.701 nrcgfe[15882:c07] viewHeight is:504.000000 2013-03-28 11:14:48.701 nrcgfe[15882:c07] viewHeight is:484.000000 2013-03-28 11:14:48.701 nrcgfe[15882:c07] setting label frame at:{{0, 444}, {320, 40}} 2013-03-28 11:14:48.702 nrcgfe[15882:c07] running viewDidLoad 2013-03-28 11:14:48.702 nrcgfe[15882:c07] setting centerMenuFrame at:{{22.5, 114.5}, {275, 275}} 2013-03-28 11:14:48.702 nrcgfe[15882:c07] this comes from self.view.frame of:{{0, 0}, {320, 504}} 2013-03-28 11:14:48.703 nrcgfe[15882:c07] creating button 1 2013-03-28 11:14:48.704 nrcgfe[15882:c07] creating button 2 2013-03-28 11:14:48.706 nrcgfe[15882:c07] creating button 3 2013-03-28 11:14:48.709 nrcgfe[15882:c07] creating button 4 2013-03-28 11:14:48.711 nrcgfe[15882:c07] creating button 5 2013-03-28 11:14:48.713 nrcgfe[15882:c07] creating button 6 2013-03-28 11:14:48.715 nrcgfe[15882:c07] setting main button 2013-03-28 11:14:48.718 nrcgfe[15882:c07] running setupNotificationObserver 2013-03-28 11:14:48.719 nrcgfe[15882:c07] BTA_design_menu: viewWillDisappear in BT_viewController BASE CLASS 2013-03-28 11:14:48.719 nrcgfe[15882:c07] CR_animated_circlemenu: viewWillAppear 2013-03-28 11:14:48.719 nrcgfe[15882:c07] BT_viewUtilities: configureBackgroundAndNavBar for screen with nickname: "Breakers Relays Disconnects PWR" and itemId: 177FE301D67D28F3CAEE437 and type: CR_animated_circlemenu 2013-03-28 11:14:48.721 nrcgfe[15882:c07] BT_fileManager: File does exist in Xcode bundle: chrom.png 2013-03-28 11:14:48.722 nrcgfe[15882:c07] BT_background_view: Image for background view exists in Xcode bundle - not downloading. 2013-03-28 11:14:48.722 nrcgfe[15882:c07] BT_background_view: setImage 2013-03-28 11:14:48.722 nrcgfe[15882:c07] nrcgfe_appDelegate: supportedInterfaceOrientationsForWindow 2013-03-28 11:14:48.723 nrcgfe[15882:c07] CR_animated_circlemenu: canBecomeFirstResponder in BT_viewController BASE CLASS 2013-03-28 11:14:49.102 nrcgfe[15882:c07] CR_animated_circlemenu: viewDidAppear in BT_viewController BASE CLASS 2013-03-28 11:14:49.695 nrcgfe[15882:c07] running toggle:sender 2013-03-28 11:14:49.695 nrcgfe[15882:c07] running open 2013-03-28 11:14:49.696 nrcgfe[15882:c07] running updateButtonsLayoutWithTriangleHypotenuse 2013-03-28 11:14:50.298 nrcgfe[15882:c07] running updateButtonsLayoutWithTriangleHypotenuse 2013-03-28 11:14:50.687 nrcgfe[15882:c07] button tag is:1 2013-03-28 11:14:50.687 nrcgfe[15882:c07] running updateButtonsLayoutWithTriangleHypotenuse 2013-03-28 11:14:50.688 nrcgfe[15882:c07] BT_application: getScreenDataByItemId 3A662556A547395B8F4D08B 2013-03-28 11:14:50.688 nrcgfe[15882:c07] BT_application: screenType is NAD_Scrollable_mc_quiz for screen with nickname: "5q" and itemId: 3A662556A547395B8F4D08B 2013-03-28 11:14:51.190 nrcgfe[15882:c07] running updateButtonsLayoutWithTriangleHypotenuse 2013-03-28 11:14:52.069 nrcgfe[15882:c07] Scringo - update(no location): AppId or UserId not set 2013-03-28 11:14:52.389 nrcgfe[15882:c07] BT_viewControllerManager: handleTapToLoadScreen 2013-03-28 11:14:52.390 nrcgfe[15882:c07] BT_viewControllerManager: the parent screen nickname: "Breakers Relays Disconnects PWR" itemId: 177FE301D67D28F3CAEE437 itemType: CR_animated_circlemenu 2013-03-28 11:14:52.390 nrcgfe[15882:c07] BT_viewControllerManager: the menu/button tapped is itemId: 7C423FDB460AF2D7370EB92 2013-03-28 11:14:52.390 nrcgfe[15882:c07] BT_viewControllerManager: the screen to load is nickname: "5q" itemId: 3A662556A547395B8F4D08B itemType: NAD_Scrollable_mc_quiz 2013-03-28 11:14:52.391 nrcgfe[15882:c07] BT_viewControllerManager: initViewControllerForScreen nickname: "5q" itemId: 3A662556A547395B8F4D08B type: NAD_Scrollable_mc_quiz 2013-03-28 11:14:52.391 nrcgfe[15882:c07] NAD_Scrollable_mc_quiz: INIT 2013-03-28 11:14:52.391 nrcgfe[15882:c07] BT_navigationController: pushViewController 2013-03-28 11:14:52.392 nrcgfe[15882:c07] BT_navigationController: pushViewController for screen: 3A662556A547395B8F4D08B 2013-03-28 11:14:52.392 nrcgfe[15882:c07] BT_navigationController: transition type: fade 2013-03-28 11:14:52.393 nrcgfe[15882:c07] NAD_Scrollable_mc_quiz: viewDidLoad 2013-03-28 11:14:52.668 nrcgfe[15882:c07] CR_animated_circlemenu: viewWillDisappear in BT_viewController BASE CLASS 2013-03-28 11:14:52.669 nrcgfe[15882:c07] NAD_Scrollable_mc_quiz: viewWillAppear 2013-03-28 11:14:52.669 nrcgfe[15882:c07] BT_viewUtilities: configureBackgroundAndNavBar for screen with nickname: "5q" and itemId: 3A662556A547395B8F4D08B and type: NAD_Scrollable_mc_quiz 2013-03-28 11:14:52.671 nrcgfe[15882:c07] BT_fileManager: File does exist in Xcode bundle: chrom.png 2013-03-28 11:14:52.671 nrcgfe[15882:c07] BT_background_view: Image for background view exists in Xcode bundle - not downloading. 2013-03-28 11:14:52.672 nrcgfe[15882:c07] BT_background_view: setImage 2013-03-28 11:14:52.674 nrcgfe[15882:c07] nrcgfe_appDelegate: supportedInterfaceOrientationsForWindow 2013-03-28 11:14:52.674 nrcgfe[15882:c07] NAD_Scrollable_mc_quiz: canBecomeFirstResponder in BT_viewController BASE CLASS 2013-03-28 11:14:52.675 nrcgfe[15882:c07] NAD_Scrollable_mc_quiz: viewDidAppear in BT_viewController BASE CLASS 2013-03-28 11:14:52.675 nrcgfe[15882:c07] NAD_Scrollable_mc_quiz: view did appear 2013-03-28 11:14:52.676 nrcgfe[15882:c07] *<UIWindow:0xd2093d0> - AMBIGUOUS LAYOUT | *<UILayoutContainerView:0xb6120a0> - AMBIGUOUS LAYOUT | | <UIView:0xb614fd0> | | | <BT_background_view:0xb6152e0> | | | | <UIView:0xb615ae0> | | | | <UIView:0xb615d00> | | | | | <UIView:0xb17da50> | | | | <UIImageView:0xb615e20> | | *<UINavigationTransitionView:0xb6140c0> - AMBIGUOUS LAYOUT | | | *<UIViewControllerWrapperView:0xb17cdc0> - AMBIGUOUS LAYOUT | | | | *<UIView:0xb178bd0> - AMBIGUOUS LAYOUT | | | | | *<UIScrollView:0xb16deb0> - AMBIGUOUS LAYOUT | | | | | | *<UIView:0xb1257c0> - AMBIGUOUS LAYOUT | | | | | | | *<UILabel:0xb178cf0> - AMBIGUOUS LAYOUT | | | | | | | | *<UILabel:0xb173060> - AMBIGUOUS LAYOUT | | | | | | *<UIView:0xb172f40> - AMBIGUOUS LAYOUT | | | | | | | *<UIButton:0xb169210> - AMBIGUOUS LAYOUT | | | | | | | | *<UILabel:0xb16d260> - AMBIGUOUS LAYOUT | | | | | | | *<UIButton:0xb16fa40> - AMBIGUOUS LAYOUT | | | | | | | | *<UILabel:0xb164b60> - AMBIGUOUS LAYOUT | | | | | | | *<UIButton:0xb1756d0> - AMBIGUOUS LAYOUT | | | | | | | | *<UILabel:0xb16f060> - AMBIGUOUS LAYOUT | | | | | | | *<UIButton:0xb151180> - AMBIGUOUS LAYOUT | | | | | | | | *<UILabel:0xb174d20> - AMBIGUOUS LAYOUT | | | | | | *<UIView:0xb1331a0> - AMBIGUOUS LAYOUT | | | | | | | *<UILabel:0xb165e80> - AMBIGUOUS LAYOUT | | | | | | | *<UILabel:0xb173780> - AMBIGUOUS LAYOUT | | <UINavigationBar:0xb612390> | | | <_UINavigationBarBackground:0xb611ff0> | | | | <UIImageView:0xb612e10> | | | <UINavigationItemView:0xb16ed50> | | | <UINavigationItemButtonView:0xb1658a0> | | | <UIButton:0xb17d240> | | | | <UIImageView:0xb17d440> | | | | <UIButtonLabel:0xb17d4f0> 2013-03-28 11:14:52.676 nrcgfe[15882:c07] BT_viewUtilities: configureBackgroundAndNavBar for screen with nickname: "5q" and itemId: 3A662556A547395B8F4D08B and type: NAD_Scrollable_mc_quiz 2013-03-28 11:14:52.678 nrcgfe[15882:c07] BT_fileManager: File does exist in Xcode bundle: chrom.png 2013-03-28 11:14:52.679 nrcgfe[15882:c07] BT_background_view: Image for background view exists in Xcode bundle - not downloading. 2013-03-28 11:14:52.679 nrcgfe[15882:c07] BT_background_view: setImage 2013-03-28 11:14:52.780 nrcgfe[15882:c07] NAD_Scrollable_mc_quiz: loadData 2013-03-28 11:14:52.780 nrcgfe[15882:c07] BT_fileManager: File does exist in Xcode bundle: breakers_relays_disconnects_pwr.txt 2013-03-28 11:14:52.780 nrcgfe[15882:c07] BT_fileManager: readTextFileFromBundleWithEncoding: breakers_relays_disconnects_pwr.txt encoding: -1 2013-03-28 11:14:52.782 nrcgfe[15882:c07] NAD_Scrollable_mc_quiz: parseScreenData 2013-03-28 11:14:52.793 nrcgfe[15882:c07] NAD_Scrollable_mc_quiz: button color incorrect UIDeviceRGBColorSpace 0.847059 0.0784314 0.0901961 1 2013-03-28 11:14:52.793 nrcgfe[15882:c07] NAD_Scrollable_mc_quiz: button color incorrect UIDeviceRGBColorSpace 0.847059 0.0784314 0.0901961 1 2013-03-28 11:14:52.794 nrcgfe[15882:c07] NAD_Scrollable_mc_quiz: set questions and awnsers. 2013-03-28 11:14:53.394 nrcgfe[15882:c07] NAD_Scrollable_mc_quiz: quizRunningLoop Mar 28 11:14:54 Nicholass-MacBook-Pro.local nrcgfe[15882] <Info>: 11:14:54.320300 com.apple.AVConference: GKSConnSettings: set server: { "gk-cdx" = "17.173.254.218:4398"; "gk-commnat-cohort" = "17.173.254.220:16386"; "gk-commnat-main0" = "17.173.254.219:16384"; "gk-commnat-main1" = "17.173.254.219:16385"; } 2013-03-28 11:14:54.394 nrcgfe[15882:c07] NAD_Scrollable_mc_quiz: quizRunningLoop 2013-03-28 11:14:55.394 nrcgfe[15882:c07] NAD_Scrollable_mc_quiz: quizRunningLoop 2013-03-28 11:14:56.285 nrcgfe[15882:c07] NAD_Scrollable_mc_quiz: answer click 2013-03-28 11:14:56.285 nrcgfe[15882:c07] NAD_Scrollable_mc_quiz: An operator attempts to close the main generator breaker with the generator and power grid frequencies matched but with voltages 180 degrees out of phase. 2013-03-28 11:14:56.286 nrcgfe[15882:c07] NAD_Scrollable_mc_quiz: correct ^ 2013-03-28 11:14:56.286 nrcgfe[15882:c07] NAD_Scrollable_mc_quiz: The main generator breaker automatically trips open on a loss of offsite power while the main generator is operating at its maximum rated load. 2013-03-28 11:14:56.287 nrcgfe[15882:c07] NAD_Scrollable_mc_quiz: selected ^ 2013-03-28 11:14:56.287 nrcgfe[15882:c07] NAD_Scrollable_mc_quiz: answer is WRONG 2013-03-28 11:14:56.287 nrcgfe[15882:c07] NAD_Scrollable_mc_quiz: An operator attempts to close the main generator breaker with the generator and power grid frequencies matched but with voltages 180 degrees out of phase. 2013-03-28 11:14:56.287 nrcgfe[15882:c07] NAD_Scrollable_mc_quiz: The main generator breaker automatically trips open on a loss of offsite power while the main generator is operating at its maximum rated load. 2013-03-28 11:14:56.288 nrcgfe[15882:c07] NAD_Scrollable_mc_quiz: An operator attempts to close the main generator breaker with the generator and power grid frequencies matched but with voltages 180 degrees out of phase. 2013-03-28 11:14:56.288 nrcgfe[15882:c07] NAD_Scrollable_mc_quiz: An operator attempts to close the main generator breaker with the generator and power grid voltages in phase but with generator frequency 0.5 percent higher than power grid frequency. 2013-03-28 11:14:56.289 nrcgfe[15882:c07] NAD_Scrollable_mc_quiz: The main generator breaker automatically trips open on a loss of offsite power while the main generator is operating at its minimum rated load. 2013-03-28 11:14:56.289 nrcgfe[15882:c07] NAD_Scrollable_mc_quiz: 2 2013-03-28 11:14:56.289 nrcgfe[15882:c07] NAD_Scrollable_mc_quiz: showIncorrect 2013-03-28 11:14:56.395 nrcgfe[15882:c07] NAD_Scrollable_mc_quiz: quizRunningLoop 2013-03-28 11:14:57.395 nrcgfe[15882:c07] NAD_Scrollable_mc_quiz: quizRunningLoop 2013-03-28 11:14:58.394 nrcgfe[15882:c07] NAD_Scrollable_mc_quiz: quizRunningLoop 2013-03-28 11:14:59.291 nrcgfe[15882:c07] NAD_Scrollable_mc_quiz: set questions and awnsers. 2013-03-28 11:14:59.394 nrcgfe[15882:c07] NAD_Scrollable_mc_quiz: quizRunningLoop 2013-03-28 11:15:00.394 nrcgfe[15882:c07] NAD_Scrollable_mc_quiz: quizRunningLoop 2013-03-28 11:15:01.305 nrcgfe[15882:c07] NAD_Scrollable_mc_quiz: answer click 2013-03-28 11:15:01.305 nrcgfe[15882:c07] NAD_Scrollable_mc_quiz: a breaker overcurrent condition is responsible for a breaker trip. 2013-03-28 11:15:01.305 nrcgfe[15882:c07] NAD_Scrollable_mc_quiz: correct ^ 2013-03-28 11:15:01.306 nrcgfe[15882:c07] NAD_Scrollable_mc_quiz: a breaker trip will occur unless current is reduced. 2013-03-28 11:15:01.306 nrcgfe[15882:c07] NAD_Scrollable_mc_quiz: selected ^ 2013-03-28 11:15:01.306 nrcgfe[15882:c07] NAD_Scrollable_mc_quiz: answer is WRONG 2013-03-28 11:15:01.307 nrcgfe[15882:c07] NAD_Scrollable_mc_quiz: a breaker overcurrent condition is responsible for a breaker trip. 2013-03-28 11:15:01.307 nrcgfe[15882:c07] NAD_Scrollable_mc_quiz: a breaker trip will occur unless current is reduced. 2013-03-28 11:15:01.307 nrcgfe[15882:c07] NAD_Scrollable_mc_quiz: a breaker overcurrent condition is responsible for a breaker trip. 2013-03-28 11:15:01.307 nrcgfe[15882:c07] NAD_Scrollable_mc_quiz: the associated breaker has failed to trip open during an overcurrent condition. 2013-03-28 11:15:01.308 nrcgfe[15882:c07] NAD_Scrollable_mc_quiz: an overcurrent condition has cleared and the breaker can be closed. 2013-03-28 11:15:01.308 nrcgfe[15882:c07] NAD_Scrollable_mc_quiz: 2 2013-03-28 11:15:01.309 nrcgfe[15882:c07] NAD_Scrollable_mc_quiz: showIncorrect 2013-03-28 11:15:03.309 nrcgfe[15882:c07] NAD_Scrollable_mc_quiz: quizEnded 2013-03-28 11:15:05.010 nrcgfe[15882:c07] NAD_Scrollable_mc_quiz: !!!action sheet called!!! 2013-03-28 11:15:05.010 nrcgfe[15882:c07] NAD_Scrollable_mc_quiz: game center tapped 2013-03-28 11:15:05.045 nrcgfe[15882:c07] nrcgfe_appDelegate: supportedInterfaceOrientationsForWindow 2013-03-28 11:15:05.046 nrcgfe[15882:c07] NAD_Scrollable_mc_quiz: viewWillDisappear in BT_viewController BASE CLASS 2013-03-28 11:15:05.046 nrcgfe[15882:c07] NAD_Scrollable_mc_quiz: viewWillDisappear in BT_viewController BASE CLASS 2013-03-28 11:15:05.047 nrcgfe[15882:c07] nrcgfe_appDelegate: supportedInterfaceOrientationsForWindow 2013-03-28 11:15:05.063 nrcgfe[15882:c07] nrcgfe_appDelegate: supportedInterfaceOrientationsForWindow 2013-03-28 11:15:06.512 nrcgfe[15882:c07] nrcgfe_appDelegate: supportedInterfaceOrientationsForWindow 2013-03-28 11:15:06.514 nrcgfe[15882:c07] NAD_Scrollable_mc_quiz: viewWillAppear 2013-03-28 11:15:06.514 nrcgfe[15882:c07] BT_viewUtilities: configureBackgroundAndNavBar for screen with nickname: "5q" and itemId: 3A662556A547395B8F4D08B and type: NAD_Scrollable_mc_quiz 2013-03-28 11:15:06.515 nrcgfe[15882:c07] nrcgfe_appDelegate: supportedInterfaceOrientationsForWindow 2013-03-28 11:15:06.517 nrcgfe[15882:c07] BT_fileManager: File does exist in Xcode bundle: chrom.png 2013-03-28 11:15:06.517 nrcgfe[15882:c07] BT_background_view: Image for background view exists in Xcode bundle - not downloading. 2013-03-28 11:15:06.517 nrcgfe[15882:c07] BT_background_view: setImage 2013-03-28 11:15:06.517 nrcgfe[15882:c07] NAD_Scrollable_mc_quiz: viewWillAppear 2013-03-28 11:15:06.518 nrcgfe[15882:c07] BT_viewUtilities: configureBackgroundAndNavBar for screen with nickname: "5q" and itemId: 3A662556A547395B8F4D08B and type: NAD_Scrollable_mc_quiz 2013-03-28 11:15:06.518 nrcgfe[15882:c07] nrcgfe_appDelegate: supportedInterfaceOrientationsForWindow 2013-03-28 11:15:06.519 nrcgfe[15882:c07] BT_fileManager: File does exist in Xcode bundle: chrom.png 2013-03-28 11:15:06.520 nrcgfe[15882:c07] BT_background_view: Image for background view exists in Xcode bundle - not downloading. 2013-03-28 11:15:06.520 nrcgfe[15882:c07] BT_background_view: setImage 2013-03-28 11:15:06.524 nrcgfe[15882:c07] NAD_Scrollable_mc_quiz: canBecomeFirstResponder in BT_viewController BASE CLASS 2013-03-28 11:15:06.525 nrcgfe[15882:c07] NAD_Scrollable_mc_quiz: canBecomeFirstResponder in BT_viewController BASE CLASS 2013-03-28 11:15:06.928 nrcgfe[15882:c07] NAD_Scrollable_mc_quiz: viewDidAppear in BT_viewController BASE CLASS 2013-03-28 11:15:06.928 nrcgfe[15882:c07] NAD_Scrollable_mc_quiz: view did appear 2013-03-28 11:15:06.929 nrcgfe[15882:c07] *<UIWindow:0xd2093d0> | *<UILayoutContainerView:0xb6120a0> - AMBIGUOUS LAYOUT | | <UIView:0xb614fd0> | | | <BT_background_view:0xb6152e0> | | | | <UIView:0xb615ae0> | | | | <UIView:0xb615d00> | | | | | <UIView:0xb565b70> | | | | <UIImageView:0xb615e20> | | *<UINavigationTransitionView:0xb6140c0> - AMBIGUOUS LAYOUT | | | *<UIViewControllerWrapperView:0xb17cdc0> - AMBIGUOUS LAYOUT | | | | *<UIView:0xb178bd0> - AMBIGUOUS LAYOUT | | | | | *<UIScrollView:0xb16deb0> - AMBIGUOUS LAYOUT | | | | | | *<UIView:0xb1257c0> | | | | | | | *<UILabel:0xb178cf0> | | | | | | | | *<UILabel:0xb173060> | | | | | | | *<UIImageView:0xb159050> | | | | | | *<UIView:0xb172f40> | | | | | | | *<UIButton:0xb169210> | | | | | | | | *<UILabel:0xb16d260> | | | | | | | *<UIButton:0xb16fa40> | | | | | | | | *<UILabel:0xb164b60> | | | | | | | *<UIButton:0xb1756d0> | | | | | | | | *<UILabel:0xb16f060> | | | | | | | *<UIButton:0xb151180> | | | | | | | | *<UILabel:0xb174d20> | | | | | | *<UIView:0xb1331a0> | | | | | | | *<UILabel:0xb165e80> | | | | | | | *<UILabel:0xb173780> | | | | | | <UIImageView:0xb6316b0> | | | | | | <UIImageView:0xb631710> | | <UINavigationBar:0xb612390> | | | <_UINavigationBarBackground:0xb611ff0> | | | | <UIImageView:0xb612e10> | | | <UINavigationItemView:0xb16ed50> | | | <UINavigationItemButtonView:0xb1658a0> | | | <UIButton:0xb504840> | | | | <UIImageView:0xb566210> | | | | <UIButtonLabel:0xb565f90> 2013-03-28 11:15:06.930 nrcgfe[15882:c07] BT_viewUtilities: configureBackgroundAndNavBar for screen with nickname: "5q" and itemId: 3A662556A547395B8F4D08B and type: NAD_Scrollable_mc_quiz 2013-03-28 11:15:06.931 nrcgfe[15882:c07] BT_fileManager: File does exist in Xcode bundle: chrom.png 2013-03-28 11:15:06.931 nrcgfe[15882:c07] BT_background_view: Image for background view exists in Xcode bundle - not downloading. 2013-03-28 11:15:06.932 nrcgfe[15882:c07] BT_background_view: setImage 2013-03-28 11:15:06.932 nrcgfe[15882:c07] NAD_Scrollable_mc_quiz: @@@Calling quiz ended### 2013-03-28 11:15:06.932 nrcgfe[15882:c07] NAD_Scrollable_mc_quiz: quizEnded 2013-03-28 11:15:06.936 nrcgfe[15882:c07] NAD_Scrollable_mc_quiz: viewDidAppear in BT_viewController BASE CLASS 2013-03-28 11:15:06.937 nrcgfe[15882:c07] NAD_Scrollable_mc_quiz: view did appear 2013-03-28 11:15:06.937 nrcgfe[15882:c07] <_UIAlertOverlayWindow:0xd229080> | <UIView:0xd23a310> | <UIView:0xd235440> | | <UIView:0xd2353e0> | | | <UIView:0xd234c70> | | | | <UIView:0xd237990> | | | | | <UIView:0xd237ba0> | | | | | | <UIActionSheet:0xd234880> | | | | | | | <UILabel:0xd235d40> | | | | | | | <UIAlertButton:0xd237c90> | | | | | | | | <UIImageView:0xd23b9c0> | | | | | | | | <UIImageView:0xd22eae0> | | | | | | | | <UIButtonLabel:0xd234df0> | | | | | | | <UIAlertButton:0xd206230> | | | | | | | | <UIImageView:0xd234ec0> | | | | | | | | <UIImageView:0xd235c80> | | | | | | | | <UIButtonLabel:0xd21a650> | | | | | | | <UIImageView:0xd206ca0> 2013-03-28 11:15:06.938 nrcgfe[15882:c07] BT_viewUtilities: configureBackgroundAndNavBar for screen with nickname: "5q" and itemId: 3A662556A547395B8F4D08B and type: NAD_Scrollable_mc_quiz 2013-03-28 11:15:06.939 nrcgfe[15882:c07] BT_fileManager: File does exist in Xcode bundle: chrom.png 2013-03-28 11:15:06.939 nrcgfe[15882:c07] BT_background_view: Image for background view exists in Xcode bundle - not downloading. 2013-03-28 11:15:06.940 nrcgfe[15882:c07] BT_background_view: setImage 2013-03-28 11:15:06.940 nrcgfe[15882:c07] NAD_Scrollable_mc_quiz: @@@Calling quiz ended### 2013-03-28 11:15:06.940 nrcgfe[15882:c07] NAD_Scrollable_mc_quiz: quizEnded 2013-03-28 11:15:09.760 nrcgfe[15882:c07] NAD_Scrollable_mc_quiz: !!!action sheet called!!! 2013-03-28 11:15:09.760 nrcgfe[15882:c07] NAD_Scrollable_mc_quiz: show Finish Screen 2013-03-28 11:15:09.760 nrcgfe[15882:c07] BT_application: getScreenDataByNickname menuimage 2013-03-28 11:15:09.761 nrcgfe[15882:c07] BT_application: screenType is WB_screen_menuImage for screen with nickname: menuimage 2013-03-28 11:15:09.761 nrcgfe[15882:c07] BT_viewControllerManager: handleTapToLoadScreen 2013-03-28 11:15:09.761 nrcgfe[15882:c07] BT_viewControllerManager: the parent screen nickname: "5q" itemId: 3A662556A547395B8F4D08B itemType: NAD_Scrollable_mc_quiz 2013-03-28 11:15:09.762 nrcgfe[15882:c07] BT_viewControllerManager: the menu/button tapped is itemId: 0 2013-03-28 11:15:09.762 nrcgfe[15882:c07] BT_viewControllerManager: the screen to load is nickname: "menuimage" itemId: 5316A551F55842A4220E0BB itemType: WB_screen_menuImage 2013-03-28 11:15:09.762 nrcgfe[15882:c07] BT_viewControllerManager: initViewControllerForScreen nickname: "menuimage" itemId: 5316A551F55842A4220E0BB type: WB_screen_menuImage 2013-03-28 11:15:09.763 nrcgfe[15882:c07] WB_screen_menuImage: INIT 2013-03-28 11:15:09.763 nrcgfe[15882:c07] BT_navigationController: pushViewController 2013-03-28 11:15:09.763 nrcgfe[15882:c07] BT_navigationController: pushViewController for screen: 5316A551F55842A4220E0BB 2013-03-28 11:15:09.764 nrcgfe[15882:c07] WB_screen_menuImage: viewDidLoad 2013-03-28 11:15:09.764 nrcgfe[15882:c07] BT_viewUtilities: getTableViewForScreen with nickname: "menuimage" and itemId: 5316A551F55842A4220E0BB and type: WB_screen_menuImage 2013-03-28 11:15:09.765 nrcgfe[15882:c07] BT_fileManager: File does exist in Xcode bundle: cherenkov.png 2013-03-28 11:15:09.765 nrcgfe[15882:c07] NAD_Scrollable_mc_quiz: viewWillDisappear in BT_viewController BASE CLASS 2013-03-28 11:15:09.766 nrcgfe[15882:c07] WB_screen_menuImage: viewWillAppear 2013-03-28 11:15:09.766 nrcgfe[15882:c07] BT_viewUtilities: configureBackgroundAndNavBar for screen with nickname: "menuimage" and itemId: 5316A551F55842A4220E0BB and type: WB_screen_menuImage 2013-03-28 11:15:09.768 nrcgfe[15882:c07] BT_fileManager: File does exist in Xcode bundle: chrom.png 2013-03-28 11:15:09.768 nrcgfe[15882:c07] BT_background_view: Image for background view exists in Xcode bundle - not downloading. 2013-03-28 11:15:09.768 nrcgfe[15882:c07] BT_background_view: setImage 2013-03-28 11:15:09.769 nrcgfe[15882:c07] nrcgfe_appDelegate: supportedInterfaceOrientationsForWindow 2013-03-28 11:15:09.769 nrcgfe[15882:c07] WB_screen_menuImage: canBecomeFirstResponder in BT_viewController BASE CLASS 2013-03-28 11:15:09.771 nrcgfe[15882:c07] NAD_Scrollable_mc_quiz: Continue Tapped 2013-03-28 11:15:09.869 nrcgfe[15882:c07] WB_screen_menuImage: loadData 2013-03-28 11:15:09.870 nrcgfe[15882:c07] WB_screen_menuImage: using menu items from the screens configuration data. 2013-03-28 11:15:09.870 nrcgfe[15882:c07] WB_screen_menuImage: layoutScreen 2013-03-28 11:15:10.125 nrcgfe[15882:c07] WB_screen_menuImage: viewDidAppear in BT_viewController BASE CLASS 2013-03-28 11:15:10.498 nrcgfe[15882:c07] NAD_Scrollable_mc_quiz: !!!action sheet called!!! 2013-03-28 11:15:10.498 nrcgfe[15882:c07] NAD_Scrollable_mc_quiz: show Finish Screen 2013-03-28 11:15:10.499 nrcgfe[15882:c07] BT_application: getScreenDataByNickname menuimage 2013-03-28 11:15:10.499 nrcgfe[15882:c07] BT_application: screenType is WB_screen_menuImage for screen with nickname: menuimage 2013-03-28 11:15:10.500 nrcgfe[15882:c07] BT_viewControllerManager: handleTapToLoadScreen 2013-03-28 11:15:10.500 nrcgfe[15882:c07] BT_viewControllerManager: the parent screen nickname: "5q" itemId: 3A662556A547395B8F4D08B itemType: NAD_Scrollable_mc_quiz 2013-03-28 11:15:10.500 nrcgfe[15882:c07] BT_viewControllerManager: the menu/button tapped is itemId: 0 2013-03-28 11:15:10.501 nrcgfe[15882:c07] BT_viewControllerManager: the screen to load is nickname: "menuimage" itemId: 5316A551F55842A4220E0BB itemType: WB_screen_menuImage 2013-03-28 11:15:10.501 nrcgfe[15882:c07] BT_viewControllerManager: initViewControllerForScreen nickname: "menuimage" itemId: 5316A551F55842A4220E0BB type: WB_screen_menuImage 2013-03-28 11:15:10.501 nrcgfe[15882:c07] WB_screen_menuImage: INIT 2013-03-28 11:15:10.502 nrcgfe[15882:c07] BT_navigationController: pushViewController 2013-03-28 11:15:10.502 nrcgfe[15882:c07] BT_navigationController: pushViewController for screen: 5316A551F55842A4220E0BB 2013-03-28 11:15:10.502 nrcgfe[15882:c07] WB_screen_menuImage: viewDidLoad 2013-03-28 11:15:10.503 nrcgfe[15882:c07] BT_viewUtilities: getTableViewForScreen with nickname: "menuimage" and itemId: 5316A551F55842A4220E0BB and type: WB_screen_menuImage 2013-03-28 11:15:10.503 nrcgfe[15882:c07] BT_fileManager: File does exist in Xcode bundle: cherenkov.png 2013-03-28 11:15:10.504 nrcgfe[15882:c07] WB_screen_menuImage: viewWillDisappear in BT_viewController BASE CLASS 2013-03-28 11:15:10.504 nrcgfe[15882:c07] WB_screen_menuImage: viewWillAppear 2013-03-28 11:15:10.505 nrcgfe[15882:c07] BT_viewUtilities: configureBackgroundAndNavBar for screen with nickname: "menuimage" and itemId: 5316A551F55842A4220E0BB and type: WB_screen_menuImage 2013-03-28 11:15:10.507 nrcgfe[15882:c07] BT_fileManager: File does exist in Xcode bundle: chrom.png 2013-03-28 11:15:10.507 nrcgfe[15882:c07] BT_background_view: Image for background view exists in Xcode bundle - not downloading. 2013-03-28 11:15:10.507 nrcgfe[15882:c07] BT_background_view: setImage 2013-03-28 11:15:10.508 nrcgfe[15882:c07] nrcgfe_appDelegate: supportedInterfaceOrientationsForWindow 2013-03-28 11:15:10.508 nrcgfe[15882:c07] WB_screen_menuImage: canBecomeFirstResponder in BT_viewController BASE CLASS 2013-03-28 11:15:10.509 nrcgfe[15882:c07] NAD_Scrollable_mc_quiz: Continue Tapped 2013-03-28 11:15:10.609 nrcgfe[15882:c07] WB_screen_menuImage: loadData 2013-03-28 11:15:10.609 nrcgfe[15882:c07] WB_screen_menuImage: using menu items from the screens configuration data. 2013-03-28 11:15:10.610 nrcgfe[15882:c07] WB_screen_menuImage: layoutScreen 2013-03-28 11:15:10.862 nrcgfe[15882:c07] WB_screen_menuImage: viewDidAppear in BT_viewController BASE CLASS
 
nadthevlad
Code is Art
Profile
Posts: 1025
Reg: Jun 07, 2012
Denver
21,850
like
03/28/13 10:32 AM (12 years ago)
I did go ahead and delete the invisibleFacebook, invisibleTwitter, and scringo integration. I didn't do anything to fix this issue. I think the second call to quizEnded is coming from the viewDidAppear. When the game center closes viewDidAppear gets called which calles quizEnded which in turn starts another action sheet. I have tried to set a flag so the action sheet doesn't get called a second time but ended up getting 0 action sheets after gamecenter ends instead of 1. //we must be coming back from another screen, trigger quiz ended method if //we have already taken the quiz. If we have not taken a quiz yet, do nothing if(self.quizDidEnd > 0){ [BT_debugger showIt:self theMessage:@"@@@Calling quiz ended###"]; [self quizEnded]; }else{ [self startQuiz]; }
 
Kittsy
buzztouch Evangelist
Profile
Posts: 2251
Reg: Feb 22, 2012
Liverpool
31,360
like
03/28/13 10:37 AM (12 years ago)
Ignore me I thought it was a face book share . But it is definitely the quiz ended being fired multiple times , is this a different quiz plugin
 
nadthevlad
Code is Art
Profile
Posts: 1025
Reg: Jun 07, 2012
Denver
21,850
like
03/28/13 10:38 AM (12 years ago)
Its something I have been working on for a while now. Based on Davids plugin but heavily modified.
 
Kittsy
buzztouch Evangelist
Profile
Posts: 2251
Reg: Feb 22, 2012
Liverpool
31,360
like
03/28/13 10:46 AM (12 years ago)
If you want to zip me up your project, I'll check the code if you want, unless I see it in front of me, I'm not very good at diagnosing it, especially when I don't have access to the plugin.
 
nadthevlad
Code is Art
Profile
Posts: 1025
Reg: Jun 07, 2012
Denver
21,850
like
03/28/13 10:46 AM (12 years ago)
Its something I have been working on for a while now. Based on Davids plugin but heavily modified.
 
nadthevlad
Code is Art
Profile
Posts: 1025
Reg: Jun 07, 2012
Denver
21,850
like
03/30/13 12:07 PM (12 years ago)
For those of you that are curious I never found the answer to this. Though I did manage to make a workaround. I took the UIActionSheet out of the code completely and just wired up some buttons in the view. http://dl.dropbox.com/u/2452503/buzztouch_screen_shots/UIActionsheetRep.jpg I still have some work to do but this is going to work much better than the UIActionSheet :P
 
SmugWimp
Smugger than thou...
Profile
Posts: 6316
Reg: Nov 07, 2012
Tamuning, GU
81,410
like
03/30/13 01:18 PM (12 years ago)
I'm still puzzled with the dual popups. Cheers! -- Smug
 

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.