我需要添加一個按鈕Facebook,然後該操作應該將用戶帶到Facebook,我只是不確定如何從下面的代碼中執行操作?如何在uiAlert上添加另一個將用戶導向Facebook的按鈕?
-(IBAction)btContinueClick:(id)sender{
if(Level == [list count]){
UIAlertView *info = [[UIAlertView alloc]initWithTitle:@"Good" message:@"Go to facebook?" delegate:self cancelButtonTitle:@"NO" otherButtonTitles:@"Facebook"];
[info show]; //// Change Game End Message
}
}
使用委託方法你想去Facebook應用程序,或在瀏覽器中打開Facebook的? –
應用程序,謝謝 – user3580117