2012-12-24 36 views

回答

1

如果你谈论的是在iOS SDK中弹出,你会想:

UIAlertView *alert = [[UIAlertView alloc] 
      initWithTitle: @"Announcement" 
      message: @"Which accounts will benefit the most from these best practices? Think,add customer names and supercharge yourself!" 
      delegate: nil 
      cancelButtonTitle:@"OK" 
      otherButtonTitles:nil]; 

// Show the popup 
[alert show]; 

对于一个有你指定的消息,和“OK”关闭该按钮标题它和标题“公告”。

+0

感谢您的回复,我需要显示像在短信预览弹出。打电话给我汤姆 – user1455465

+0

1)你不是很清楚 - 请清楚地定义你想要的2)“电话给我汤姆” - 礼貌走了很长的路 –