ios移动开发的提示弹出框(简单明了方便调试)
2016-07-22 16:32
344 查看
ios的提示弹出框下面语句就可以完成
应用UIAlertView这个类
UIAlertView *box= [[UIAlertView
alloc] initWithTitle:@"提示"
message:@"Hello world!!"
delegate:nil
cancelButtonTitle:@"确定"
otherButtonTitles:nil];
[box show];
到此,试试吧,是不是很好玩!!!!
应用UIAlertView这个类
UIAlertView *box= [[UIAlertView
alloc] initWithTitle:@"提示"
message:@"Hello world!!"
delegate:nil
cancelButtonTitle:@"确定"
otherButtonTitles:nil];
[box show];
到此,试试吧,是不是很好玩!!!!
相关文章推荐
- CocoaLumberjack使用以及日志文件获取
- 数据解析及model的封装
- iOS_Runtime
- iOS-OC-提交审核:Missing Push Notification Entitlement
- iOS BLe
- iOS 调试接口时候 报错,不能联网
- 关于iOS生命周期和前后台的切换
- iOS - 封装自己的slider
- iOS - 重写set和get方法后,为什么使用时会发生无效?解析命名规范
- iOS7 StatusBar 使用小结
- ios 下拉刷新,下拉加载数据 利用第三方
- 用CocoaPods做iOS程序的依赖管理
- ios常用的第三方类库
- iOS---五颗星评分效果编程(详解)
- ios基本语法
- iOS开发之制作@2x和缩小图片
- iOS基础篇
- 解决Alamofire库在iOS7下设置Head无效的问题
- iOS开发masonry的一些使用简介
- 快速集成iOS基于RTMP的视频推流