Note that there are some explanatory texts on larger screens.

plurals
  1. PO-[GMSIndoorState didReceiveMemoryWarning:]: message sent to deallocated instance 0x210b2010
    primarykey
    data
    text
    <p>debug log has print:</p> <blockquote> <p>-[GMSIndoorState didReceiveMemoryWarning:]: message sent to deallocated instance 0x210b2010</p> </blockquote> <p>but I cannot figure out where's wrong</p> <p>It seems related about take photo process,</p> <p>it just crash between present actionsheet to take photo and dismiss imagePicker</p> <p>so I cannot use NSZombie to debug</p> <p>it happened sometimes, sometimes not. please help.</p> <pre><code>- (void)actionSheet:(UIActionSheet *)actionSheet didDismissWithButtonIndex:(NSInteger)buttonIndex { if ([actionSheet.title isEqualToString:NSLocalizedString(@"Delete the photo has picked?", nil)]) { if (buttonIndex != [actionSheet cancelButtonIndex]) { NSLog(@"photo deleted"); self.selectedPhoto = nil; self.photoLabel.text = NSLocalizedString(@"Take One", nil); self.photoIsOn = NO; self.photoIcon.image = [UIImage imageNamed:@"camera_icon_off_60.png"]; } } else { NSLog(@"Source button tapped index: %d", buttonIndex); if (buttonIndex != [actionSheet cancelButtonIndex]) { self.imagePicker = [[UIImagePickerController alloc] init]; self.imagePicker.delegate = self; switch (buttonIndex) { case 0: //Camera self.imagePicker.sourceType = UIImagePickerControllerSourceTypeCamera; break; case 1: //Library self.imagePicker.sourceType = UIImagePickerControllerSourceTypePhotoLibrary; default: break; } [self presentViewController:self.imagePicker animated:YES completion:nil]; } } } - (void)friendPickerViewControllerSelectionDidChange:(FBFriendPickerViewController *)friendPicker { self.selectedFriedns = friendPicker.selection; [self updateSelections]; } - (void)updateSelections { //update picked photo self.photoLabel.text = (self.selectedPhoto ? NSLocalizedString(@"Taken", nil) : NSLocalizedString(@"Take one", nil)); self.photoIsOn = (self.selectedPhoto != nil ? YES : NO); self.photoIcon.image = (self.selectedPhoto != nil ? [UIImage imageNamed:@"camera_icon_60.png"] : [UIImage imageNamed:@"camera_icon_off_60.png"]); self.sendButton.enabled = (self.textView.text != nil); } </code></pre>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload