Guest User

Untitled

a guest
Jun 21st, 2018
68
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.35 KB | None | 0 0
  1. - (void)alertView:(UIAlertView *)alertView clickedButtonAtIndex:(NSInteger)buttonIndex
  2. {
  3. printf("User Pressed Button %d\n", buttonIndex + 1);
  4.  
  5. if(buttonIndex == 1){
  6. NSLog(@"Start Following");
  7. [self followUser];
  8. }else if (buttonIndex == 2){
  9. NSLog(@"Stop Following");
  10. [self unFollowUser];
  11. }else{
  12. NSLog(@"Nothing");
  13. }
  14.  
  15.  
  16. }
Add Comment
Please, Sign In to add comment