iPhone上的简单警报框

Posted

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了iPhone上的简单警报框相关的知识,希望对你有一定的参考价值。

Display simple alert box
  1. UIAlertView *someError = [[UIAlertView alloc] initWithTitle: @"Network error" message: @"Error sending your info to the server" delegate: self cancelButtonTitle: @"Ok" otherButtonTitles: nil];
  2.  
  3. [someError show];
  4. [someError release];

以上是关于iPhone上的简单警报框的主要内容,如果未能解决你的问题,请参考以下文章

如何捕获位置警报响应iphone

iPhone 上的警报视图

HTML5 地理定位 iphone

iPhone 上的 AlertView 中的错误?

iPhone上的位置许可警报与PhoneGap

如何将 javascript 警报框标题更改为 UIWebView?