Wednesday, 15 June 2011

ios - Method crashes when called from different view -



ios - Method crashes when called from different view -

i attempting perform segue after done button pressed custom signature alertview. segue works perfect if phone call button within same view, when phone call signature class, crash says:

`'receiver (<supersigapprovetableviewcontroller: 0x79eea280>) has no segue identifier 'approveswap''

signaturealertviewcontroller name of class calls done method

- (ibaction)dismissalertview:(id)sender { [linersig sendsigimagetoserver]; [self.presentingviewcontroller dismissviewcontrolleranimated:yes completion:^{[sp sendtopdf];}]; }

inside completion block method trying phone call located within of supersigapprovetableviewcontroller

-(void)sendtopdf { nslog(@"sendtopdf"); [self performseguewithidentifier: @"approveswap" sender: self]; }

i have alloc , init supersigapprovetableview in viewdidload method of signaturealertviewcontroller. not sure why crashing have clues?

ios objective-c xcode

No comments:

Post a Comment