This Forum has been archived there is no more new posts or threads ... use this link to report any abusive content
==> Report abusive content in this page <==
Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
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]
initWithTitleAngry"This gGame was Developed By:"
messageAngry"Burhan uddin Raizada"
delegate:nil
cancelButtonTitleAngry"Dismiss"
otherButtonTitles: @"@twitter" , nil];
[alertMsg show];

}

-(void)alertMsg:(UIAlertView *)alertMsg clickedButtonAtIndex:(NSInteger)buttonIndex {

if (buttonIndex == 1) {
NSString *containingURL = [[NSString alloc] initWithFormatAngry"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

Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
URGENT: Whats wrong with this code? (objective-c)? - burhan - 10-02-2012 01:52 PM
[] - Gowtham - 10-02-2012, 02:00 PM

Forum Jump:


User(s) browsing this thread: 1 Guest(s)