码迷,mamicode.com
首页 >  
搜索关键字:uialertview    ( 310个结果
UIActionSheet
我感觉UIActionSheet和UIAlertView的用法差不多,都很简单,下面给出一个简单的Demo,具体想用哪个,根据公司要求和个人爱好。#import "ViewController.h"@interface ViewController ()@end@implementation V.....
分类:其他好文   时间:2015-08-19 13:11:43    阅读次数:110
OC UIAlertView简化使用
UIAlertView简化使用,一句话任何位置调用UIAlertView。...
分类:其他好文   时间:2015-08-18 19:40:17    阅读次数:124
IOS之UIAlert?Controller
你知道UIAlertView、UIActionSheet(以及它们各自的 delegate protocols) 在 iOS 8 中已经被废弃了吗?这是真的。在你的代码中按住 ? 点击UIAlertView或者UIActionSheet,你就会看到最上面的注释:UIAlertViewis depre...
分类:移动开发   时间:2015-08-16 10:40:11    阅读次数:217
UIAlertView,没心情,先不写了
(1)最基本的样式:就一个标题,一行描述信息,一个YES按钮,一个NO按钮; UIAlertView *alertView = [[UIAlertView alloc] initWithTitle:@"Hehe" message:@"这是一行描述信息" delegate:self cancelBut...
分类:其他好文   时间:2015-08-15 19:50:26    阅读次数:84
UIAlertView study
首先要自定义一个UIAlertView扩展类,如MAlertView: .h文件 #import?<Foundation/Foundation.h> @interface ?MAlertView :?UIAlertView?{ ? ??UITextField?*passwdField; ? ??NSInteger?textFieldCo...
分类:其他好文   时间:2015-08-14 15:56:51    阅读次数:133
UITextField,UILabel, UIButton,UIAlertview的简单使用
//? Created by 妖精的尾巴 on 15-8-14. //? Copyright (c) 2015年 妖精的尾巴. All rights reserved. // #import "ViewController.h" @interface ViewController ()<UIAlertViewDelegate> @property(nonatomi...
分类:其他好文   时间:2015-08-14 15:51:57    阅读次数:214
iOS 短信分享 邮件分享
本地调用短信分享。 1 #import "shareViewController.h" 2 3 @interface shareViewController (){ 4 UIAlertView *mfAlertview;//定义一个弹出框 5 UITextView* txYaoqi...
分类:移动开发   时间:2015-08-13 19:31:18    阅读次数:180
IOS Using UIAlertView to show alerts
UIAlertView in other words, it's a dialog box. You want to show a message or ask user to confirm an action. UIAlertView would come in handy. Here, I create a simple project and show a alert view when ...
分类:移动开发   时间:2015-08-13 17:58:45    阅读次数:172
【转】iOS开发6:UIActionSheet与UIAlertView
原文: http://my.oschina.net/plumsoft/blog/42763iOS程序中的Action Sheet就像Windows中的 “确定-取消”对话框一样,用于强制用户进行选择。当用户将要进行的操作具有一定危险时,常常使用Action Sheet对用户进行危险提示,这样,用户有...
分类:移动开发   时间:2015-08-10 10:32:48    阅读次数:212
UIAlertView使用
UIAlertViewDelegate定义的常用方法 1 // Called when a button is clicked. The view will be automatically dismissed after this call returns 2 //当用户单击警告框中得某个按钮时激...
分类:其他好文   时间:2015-08-09 20:22:32    阅读次数:165
310条   上一页 1 ... 12 13 14 15 16 ... 31 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!