-(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)buttonIn… {
if (buttonIndex == 1) {
NSString *containingURL = [[NSString alloc] initWithFormat:@"http://www.twitter.com/…
[[UIApplication sharedApplication] openURL:[NSURL URLWithString: containingURL]];
}
}
第一个 alertmsg 工作得很好。但是当我在新的“@twitter”按钮上添加了一个赞时,它就不起作用了。否则一切正常。我想知道为什么它没有,但它应该..需要帮助。