Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- - (void)alertView:(UIAlertView *)alertView clickedButtonAtIndex:(NSInteger)buttonIndex
- {
- printf("User Pressed Button %d\n", buttonIndex + 1);
- if(buttonIndex == 1){
- NSLog(@"Start Following");
- [self followUser];
- }else if (buttonIndex == 2){
- NSLog(@"Stop Following");
- [self unFollowUser];
- }else{
- NSLog(@"Nothing");
- }
- }
Add Comment
Please, Sign In to add comment