URGENT: Whats wrong with this code? (objective-c)?
|
10-02-2012, 01:52 PM
Post: #1
|
|||
|
|||
URGENT: Whats wrong with this code? (objective-c)?
-(void)otherGames
{ UIAlertView *alertMsg = [[UIAlertView alloc] initWithTitle"This gGame was Developed By:" message"Burhan uddin Raizada" delegate:nil cancelButtonTitle"Dismiss" otherButtonTitles: @"@twitter" , nil]; [alertMsg show]; } -(void)alertMsg:(UIAlertView *)alertMsg clickedButtonAtIndex:(NSInteger)buttonIndex { if (buttonIndex == 1) { NSString *containingURL = [[NSString alloc] initWithFormat"http://www.twitter.com/brhanheck"]; [[UIApplication sharedApplication] openURL:[NSURL URLWithString: containingURL]]; } } the first alertmsg is working absolutely fine. but when i added a like to the new "@twitter" button, then it just doesn't work. otherwise everything is working fine. i am wondering why it doesn't, but it should..need help. Ads |
|||
« Next Oldest | Next Newest »
|
Messages In This Thread |
URGENT: Whats wrong with this code? (objective-c)? - burhan - 10-02-2012 01:52 PM
|
User(s) browsing this thread: 1 Guest(s)