码迷,mamicode.com
首页 >  
搜索关键字:alertview    ( 126个结果
alertView
// 下面弹出 UIActionSheet *popup = [[UIActionSheet alloc] initWithTitle:nil delegate:cell cancelButtonTitle:nil destructiveButtonTitle:nil otherButtonTitl
分类:其他好文   时间:2016-02-26 17:10:53    阅读次数:117
UIAlertView使用全解
举例: UIAlertView *alertView = [[UIAlertView alloc] initWithTitle:@"Default Alert View"message:@"Defalut" delegate:self cancelButtonTitle:@"Cancel" othe
分类:其他好文   时间:2016-02-18 13:46:30    阅读次数:141
AlertView动画
AlertView动画效果源码https://github.com/YouXianMing/Animations//// AbstractAlertView.h// Animations//// Created by YouXianMing on 16/1/2.// Copyright © ...
分类:其他好文   时间:2016-01-02 12:19:49    阅读次数:197
UIAlertView与UIActionSheet
1.UIAlertView(警告框)1.1 创建警告框,设置样式- (IBAction)alertView:(UIButton *)sender {//创建button按钮 //创建警告框的实例 //UIAlertView *alert = [[UIAlertView alloc]initWit.....
分类:其他好文   时间:2015-12-16 17:13:15    阅读次数:156
iOS 尝试用 block 闭包 去代替delegate 实现方法
通常都是这样创建alert 再加一个代理// 创建一个UIAlertView并显示出来UIAlertView *alertview = [[UIAlertView alloc] initWithTitle:aTitle message:msg delegate:self cancelButtonTi...
分类:移动开发   时间:2015-12-04 18:43:21    阅读次数:207
iOS开篇——UI之UAlertView(提示框)
创建提示框 //创建提示框 //标题 提示内容 代理对象 按钮 UIAlertView * alertView = [[UIAlertView alloc]initWithTitle:@"警告" message:@"萨达姆已经做好战斗准备" delegate:self ca...
分类:移动开发   时间:2015-11-24 06:12:56    阅读次数:276
警告框和操作表
应用如何与用户交流呢? 警告框(AlertView)和操作表(ActionSheet)就是为此而设计的。 本文案例的原型草图如图3-48所示,其中有两个按钮“Test警告框”和“Test操作表”,点击“Test警告 框”按钮时弹出警告框,它有两个按钮。当点击“Test操作表”按钮时,屏幕下方...
分类:其他好文   时间:2015-11-24 00:48:49    阅读次数:179
objective-c 宏定义UIAlertController公用方法
IOS的方法经常都有更迭,以前弹出框使用 AlertView,现在使用UIAlertControllerAlertView的宏定义#define showMessage(__MESSAGE__) \UIAlertView *alertView_ = [[UIAlertView alloc] init...
分类:其他好文   时间:2015-11-20 12:13:44    阅读次数:573
UIAlertView
introduced=2.0, deprecated=9.0 ios9已经废弃 建议使用UIAlertController创建AlertViewlet alertView = UIAlertView()alertView.title = "温馨提示"alertView.message = "UIAl...
分类:其他好文   时间:2015-11-19 12:46:41    阅读次数:121
UIAlertView
1.Title获取或设置UIAlertView上的标题。2.Message获取或设置UIAlertView上的消息1 UIAlertView *alertView = [[UIAlertView alloc] initWithTitle:@"Title" message:@"message" del...
分类:其他好文   时间:2015-11-14 16:31:56    阅读次数:210
126条   上一页 1 2 3 4 5 6 ... 13 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!