小编Rui*_*Rui的帖子

为什么UIAlertView没有显示?

由于某种原因,屏幕变暗并冻结,警报未显示...有人可以帮忙吗?

提前致谢!

} else {
    UIAlertView *alert = [[UIAlertView alloc] initWithTitle:@"Hello!" 
                                                message:@"Hello!" delegate:self 
                                      cancelButtonTitle:@"Done" 
                                      otherButtonTitles:nil];
    [alert show];
    [alert release];
}
Run Code Online (Sandbox Code Playgroud)

iphone objective-c ios-simulator

4
推荐指数
1
解决办法
3843
查看次数

标签 统计

ios-simulator ×1

iphone ×1

objective-c ×1