码迷,mamicode.com
首页 >  
搜索关键字:uialertview    ( 310个结果
UIAlertView - 弹出框
UIAlertView 继承于UIView初始化方法:- (id)initWithTitle:(NSString *)title message:(NSString *)message delegate:(id /* */)delegate cancelButtonTitle:(NSString *...
分类:其他好文   时间:2015-05-09 23:30:09    阅读次数:123
UIAlertView(弹窗)的若干方法15-05-07
alert为实例变量1—alert.alertViewStyle = UIAlertViewStylePlainTextInput; ————设置alert的类型,比如有误输入框……2—[alert textFieldAtIndex:0].text = @“name”; ————设置...
分类:其他好文   时间:2015-05-07 23:33:24    阅读次数:161
iOS7之后全局移除UIAlertView(app退到后台)
新建一个视图控制器HZSAlertView.h 集成UIAlertView@interfaceHZSAlertView :UIAlertView-(instancetype)initWithTitle:(NSString*)title message:(NSString*)message deleg...
分类:移动开发   时间:2015-05-02 18:06:30    阅读次数:157
IOS UIAlertView(警告框)方法总结
IOS中UIAlertView(警告框)常用方法总结 一、初始化方法 - (instancetype)initWithTitle:(NSString *)title message:(NSString *)message delegate:(id /*<UIAlertViewDelegate>*/)delegate cancelButtonTitle:(N...
分类:移动开发   时间:2015-05-02 09:57:12    阅读次数:144
UI之UIAlertView--提示框
1 #import "AppDelegate.h" 2 3 @interface AppDelegate () // 签UIAlertViewDelegate协议 4 // 协议方法按住comm键,用鼠标点进去看 5 @end 6 @implementation AppDelegate 7 -...
分类:其他好文   时间:2015-05-01 14:38:47    阅读次数:379
UIALertView的基本用法与UIAlertViewDelegate对对话框的事件处理方法
ViewController.h中的代码如下:#import @interface ViewController : UIViewController @end ViewController.m中的详细代码:- (void)viewDidLoad { [super vie...
分类:其他好文   时间:2015-04-29 11:29:37    阅读次数:186
UIAlertControl的使用对比与UIAlertView和UIActionSheet
1.UIAlertVIew以-(void)show的方法显示:- (void)viewDidLoad { [super viewDidLoad]; //UIAlertView的使用 [self showAlert]; //UIAcyionSheet使用// [s...
分类:其他好文   时间:2015-04-25 13:38:32    阅读次数:144
带输入框的UIAlertView
UITextField * textFiled1; UITextField * textFiled2; UIAlertView * alert = [[UIAlertView alloc]initWithTitle:@"请输入" message:@"账号和密码" delegate:self cancelButtonTitle:@"取消" otherButtonTitl...
分类:其他好文   时间:2015-04-22 18:17:17    阅读次数:130
ios实战-使用Block的UIAlertView
因为block比较好用,你懂得,直接上代码: .h typedef?void?(^choiceCompletionBlock)(int?index); +?(instancetype)shareAlertView; #pragma?mark?-?弹窗 //普通提示弹窗 -?(void)showTipAlert:(NSStrin...
分类:移动开发   时间:2015-04-17 16:04:03    阅读次数:165
UIAlertView 小记
1 有时候我们需要alertView 弹出后自动消失,比如自动登录,如果是使用系统自带的UIAlertView的话,这样可以很方便实现,实现方法如下: 首先在初始化alertView的地方使用计时器,如 [NSTimer?scheduledTimerWit...
分类:其他好文   时间:2015-04-16 20:12:21    阅读次数:192
310条   上一页 1 ... 18 19 20 21 22 ... 31 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!