码迷,mamicode.com
首页 >  
搜索关键字:alertview    ( 126个结果
如果AlertView输入框为空,则禁止点击确定按钮
//UIAlertView的代理方法(创建UIAlertView之后,copy此代理方法即可)- (BOOL)alertViewShouldEnableFirstOtherButton:(UIAlertView *)alertView{ //1.取出输入框中的文字 NSString *text .....
分类:其他好文   时间:2014-07-22 23:00:34    阅读次数:330
UIAlertView
当AlertView只有一个按钮时,将取消按钮的文字设置成“确定”UIAlertView*alert=[[UIAlertViewalloc]initWithTitle:@"例子"message:@"消息"delegate:selfcancelButtonTitle:@"确定"otherButtonTitles:nil];如果只有两个按钮时,将otherButton的第一个按钮设置为“确定”UIAlert..
分类:其他好文   时间:2014-07-10 18:39:45    阅读次数:206
为什么alertView弹出后button会消失的问题
按option后会有提示:Do not use the label object to set the text color or the shadow color. Instead, use the setTitleColor:forState: and setTitleShadowColor:f...
分类:其他好文   时间:2014-05-26 18:47:48    阅读次数:212
UIAlertView
UIAlertView 1.Title 获取或设置UIAlertView上的标题。   2.Message 获取或设置UIAlertView上的消息       UIAlertView *alertView = [[UIAlertView alloc] initWithTitle:@"Title" message:@"message" delegate:self cancelBu...
分类:其他好文   时间:2014-05-25 16:37:56    阅读次数:194
IOS学习第二课 UIAlertView和UIActionSheet
1UIAlertView类似于Android中的Dialog,简单用法如下:UIAlertView*alertView=[[UIAlertViewalloc]initWithTitle:@"Title"message:@"Messate"delegate:nilcancelButtonTitle:@"Cancle"otherButtonTitles:nil,nil];[alertViewshow];2UIActionSheet底部弹出的对话框,较常用,简..
分类:移动开发   时间:2014-05-14 16:24:55    阅读次数:332
UIAlertView
http://blog.csdn.net/developer_zhang/article/details/88258221.普通弹框 - (void)viewDidLoad { [super viewDidLoad]; UIAlertView *alertView = [[UIAlertView.....
分类:其他好文   时间:2014-05-09 20:20:20    阅读次数:323
126条   上一页 1 ... 11 12 13
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!