I am using this code for loging to apps. but i don't know how to call logout function in xcode using this iOS/iPhone logout
It's easy. can you change to another view.
Code (Objective-C)
- (IBAction)btnLogOut:(id)sender {
PageViewController2 *view2 = [[PageViewController2 alloc] initWithNibName:nil bundle:nil];
[self presentViewController:view2 animated:NO completion:NULL];
}
Date :
2013-06-28 21:29:30
By :
mr.win
Thanks Mr. Win
I used this code and it is working but when logout action perform successfully
but when i slide login page slider menu appearing.
Code (Objective-C)
- (IBAction)Logout:(id)sender
{
Vendor_Login *logout = [[Vendor_Login alloc]initWithNibName:nil bundle:nil];
// [self presentedViewController:logout animated:NO completion:NULL];
[self.slideMenuContainer setTopContentViewController:logout];
[self.slideMenuContainer closeMenu];
// [self.navigationController pushViewController:logout animated:YES];
}
There need php code in API for logout function and there also need cookies and session or not.
I am sending Screenshot of logout.
Please help
Thanks
Vishwa
Date :
2013-07-01 12:21:55
By :
vishwa
Thanks Mr. Win
Now Working perfect.
Date :
2013-07-01 12:51:51
By :
vishwa
Good!
Date :
2013-07-01 13:03:49
By :
mr.win
Load balance : Server 01