CLSystemAlertController

码农软件 · 软件分类 · 提醒 (Notification) · 2019-05-20 22:56:46

软件介绍

CLSystemAlertController 封装了系统提示窗口,兼容iOS8.3以下版本。

使用方法:

__weak __typeof(self) weakSelf = self;
[CLSystemAlertController ShowAlertToController:self
                          alertControllerStyle:SystemAlertStyleAlert
                                         title:@"这是标题"
                                       message:@"详细信息"
                             cancelButtonTitle:@"取消"
                        destructiveButtonTitle:@"重点按钮"
                             otherButtonTitles:@[@"第二", @"第三"]
                            clickedButtonBlock:^(NSUInteger index) {
                                weakSelf.indexField.text = [NSString stringWithFormat:@"%d", index];
                            }];
如果共有n个按钮,则:
cancelButton按钮的序号为 0,
destructiveButton按钮的序号为1,
otherButton按钮的序号从为 2 ~ n-1,
如果cancelButtonTitle或者destructiveButtonTitle为nil,则其他按钮的序号向前补位

本文地址:https://www.codercto.com/soft/d/6192.html

微机原理与接口技术

微机原理与接口技术

李文英、李勤、刘星、宋蕴新 / 清华大学出版社 / 2001-9 / 26.00元

《高等院校计算机应用技术规划教材•应用型教材系列•微机原理与接口技术》是“高职高专计算机系列教材”之一。全书包括微机原理、汇编语言、接口技术三部分内容。微机原理部分讲述了80x86的内部结构及工作原理、半导体存储器及其系统、微型机总线结构等。汇编语言部分讲述了指令系统、编程技巧。接口技术部分讲述了中断系统、中断控制器、并行接口、串行接口、DMA控制器、定时器,以及A/D、D/A转换器等常用芯片的硬......一起来看看 《微机原理与接口技术》 这本书的介绍吧!

SHA 加密
SHA 加密

SHA 加密工具

XML 在线格式化
XML 在线格式化

在线 XML 格式化压缩工具

html转js在线工具
html转js在线工具

html转js在线工具