iphone - Weird Switch error in Obj-C -
My code has this switch statement:
switch (button index) {case 0 : [The action sheet was dismissed with the synchronized index: buttonindex animated: yes]; break; Case 1: UIImagePickerController * imagePicker = [[UIImagePickerController alloc] init]; ImagePicker.delegate = self; ImagePicker.sourceType = UIImagePickerControllerSourceTypeCamera; [Self-Present Model Week Controller: [Image Picture Autorelej] Animated: Yes]; break; Default: [Open Employee View Control Controller: Self]; }
And I am getting an error on UIImagePickerController urgency in case 1:
Error: Expected expression before 'UIImagePickerController'
< / Pre>And I do not know what I'm doing wrong. idea?
Oh, and the button Indian is an NSI tagger
Comments
Post a Comment