alertview

    -3热度

    2回答

    -(void)otherGames { UIAlertView *alertMsg = [[UIAlertView alloc] initWithTitle:@"This gGame was Developed By:" message:@"Burhan uddin Raizada" delegate:nil cancelButtonTitle:

    3热度

    3回答

    我使用UIAlertViewStylePlainTextInput样式显示UIAlertView样式。然后我尝试验证的空场是这样的: -(void)alertView:(UIAlertView *)alertView clickedButtonAtIndex:(NSInteger)buttonIndex{ if (buttonIndex == 1) { if ([[aler

    0热度

    2回答

    忽略TextField,因为buttonIndex不起作用,所以我离开文本字段的语法。 -(IBAction)bm1:(id)sender { UIAlertView *alert = [[UIAlertView alloc]initWithTitle:@"Set Bookmark" message:@"Type URL Here" delegate:self cancelButtonTitle

    1热度

    1回答

    我首先使用“[UIAlertView alloc] initWithTitle:”调整图像大小并自定义AlertView,但失败。 然后我使用下面的代码,所有工作正常(alertView调整大小,并有一个图像),但只是不能有一个按钮来关闭alertView。在这里呆了半天。请帮忙,谢谢! UIAlertView* find = [[[UIAlertView alloc] init]initWith

    0热度

    1回答

    我已经搜索了一些方法,一旦点击了警报视图上的按钮,我就可以转到新页面。我必须使用prepareForSegue方法吗?或者有没有更简单的方法? -(void)alertView:(UIAlertView *)alertView clickedButtonAtIndex:(NSInteger)buttonIndex{ if(buttonIndex ==0){ //code g

    0热度

    1回答

    我无法编程AlertView以推送到新的ViewController。我跟着几个教程,仍然无法正常工作。任何帮助,将不胜感激。 - (IBAction)web:(id)sender { UIAlertView *testAlert = [[UIAlertView alloc] initWithTitle:@"Alert" message:@"You are now entering a

    1热度

    2回答

    我试图在用户在模态视图控制器中按下“登录”后显示UIAlertView和UIActivityIndicator。要登录,凭证将使用NSURLConnection类中的sendAsynchronousRequest:queue:completionHandler:发送到服务器。我的实现如下: UIAlertView * spinner = [[UIAlertView alloc] initWithT

    2热度

    1回答

    我使用一个按钮,点击或(IBAction为)内以下 - (IBAction)HistoryBtn:(id)sender { self startReport]; dispatch_async(dispatch_get_global_queue(DISPATCH_QUEUE_PRIORITY_DEFAULT, 0), ^{ //====================

    2热度

    1回答

    我正在开发一个iPhone应用程序,需要在锁定屏幕上显示一些消息。我试图使用本地通知或CFUserNotification,但他们都不能在锁定屏幕上显示消息。对于CFUserNotification,我尝试了kCFUserNotificationAlertTopMostKey(请参阅this similar question),但它仍不起作用。我不打算跳板,因为我的手机不是越狱。我发现一个应用程序

    1热度

    2回答

    首先我对xcode很陌生。我正在尝试将多个警报添加到单个视图。我正在为ipad创建一个表单,允许用户在文本框中输入信息。由于需要填写多个文本框,因此我不希望多个警报框弹出显示每个错误,但是我想要一个警报视图显示多个错误。楼下的注释代码是我想象它会被写入 - (IBAction)showMessage:(id)sender { UIAlertView *message = [[UIAlertVie