
UIAlertView *alertView = [[UIAlertView alloc] initWithTitle:@"提示" message:@"显示信息内容" delegate:self cancelButtonTitle:@"取消按钮" otherButtonTitles:@"其他按钮", nil]
[alertView show]
你要是想实现点击取消按钮或者其他按钮出发方法, 需要签协议, 实现方法.不知道你说的是不是这个意思, 是就采纳吧
设置是否有输入框textfield: // Alert view style - defaults to UIAlertViewStyleDefault @property(nonatomic,assign) UIAlertViewStyle alertViewStyle NS_AVAILABLE_IOS(5_0)获取指定的输入框textfield(.text): // Retrieve a text fiel...欢迎分享,转载请注明来源:内存溢出
微信扫一扫
支付宝扫一扫
评论列表(0条)