Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- - (IBAction)registerUser:(id)sender
- {
- LoginLogics *login = [[LoginLogics alloc] init];
- NSInteger userId = [login AddNewMobileUserWithSource:pickupSportsFirstName.text
- LastName:pickupSportsLastName.text
- Email:@"" //future proof
- Password:@"" //future proof
- SourceUniqueId:[Pickup_SportsAppDelegate deviceID]
- Gender:pickupSportsGender.selectedSegmentIndex + 1
- ];
- [self.navigationController dismissModalViewControllerAnimated:YES];
- /*
- [login release];
- [self.navigationController dismissModalViewControllerAnimated:YES];
- [login release];
- if(userId != 0)
- {
- [self.navigationController dismissModalViewControllerAnimated:YES];
- }
- else {
- [Common AlertBoxSingleButton:@"Sorry"
- message:@"There seems to be some problem at registering, please try again later"
- buttonName:@"Ok"];
- }*/
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement