hello there. new apple/mac. designing simple app, check username , password , if matches, open new page. simple. new this. don't know. works fine except cannot put condition in custom segue checks if username , password correct or not, before loading next page. how can that? custom segue: (i need add condition can check if username , password in source view controller correct or not before loading destination view controller. attaching entire project in zip file. here. thanks shahab code:
#import "akire_login_customsegue.h" @implementation akire_login_customsegue -(void)perform { [self.sourceviewcontroller presentmodalviewcontroller:self.destinationviewcontroller animated:yes]; } @end
file size: 11.4 kb views: 18
hello there.
new apple/mac.
designing simple app, check username , password , if matches, open new page. simple. new this. don't know.
works fine except cannot put condition in custom segue checks if username , password correct or not, before loading next page.
how can that?
custom segue: (i need add condition can check if username , password in source view controller correct or not before loading destination view controller.
attaching entire project in zip file. here.
thanks
shahab
code:
#import "akire_login_customsegue.h" @implementation akire_login_customsegue -(void)perform { [self.sourceviewcontroller presentmodalviewcontroller:self.destinationviewcontroller animated:yes]; } @end click expand...
i not think segue proper location verify credentials. run conditional check in source viewcontroller push segue if credentials pass. answer question can access source , destination properties via self.sourceviewcontroller & self.destinationviewcontroller. hope helps.
Forums iPhone, iPad, and iPod Touch iOS Programming
iPhone Mac OS & System Software iPad Apple Watch Notebooks iTunes Apple ID iCloud Desktop Computers Apple Music Professional Applications iPod iWork Apple TV iLife Wireless
No comments:
Post a Comment