原文:UIAlertViewController的使用

UIAlertViewController是苹果自带的信息提示框,仅在iOS . 以后可以使用 NS CLASS AVAILABLE IOS interface UIAlertController : UIViewController 下面是一个使用的简单例子: UIAlertController alertController UIAlertController alertController ...

2016-11-27 15:15 0 3448 推荐指数:

查看详情

提示框的综合使用--UIAlertViewController

这是最普通的一个alertcontroller,一个取消按钮,一个确定按钮。 新的alertcontroller,其初始化方法也不一样了,按钮响应方法绑定使用了block方式,有利有弊。需要注意的是不要因为block导致了引用循环,记得使用__weak,尤其是 ...

Tue Aug 21 04:05:00 CST 2018 0 1563
iOS之改变UIAlertViewController字体的颜色

上面的是修改UIAlertViewController的title和message字体的大小和颜色,采用的是修改attributedString其中的NSForegroundColorAttributeName颜色属性和NSFontAttributeName字体大小属性 ...

Thu May 18 00:39:00 CST 2017 0 3277
使用

VIM编辑器的使用(大小写区分) 在命令行下输入切换到打开VIM,按下i进入编辑模式,开始编辑文本,按下 ...

Wed May 30 05:34:00 CST 2012 0 32831
Springboot使用JdbcTemplate的使用

在spring-boot-starter-jdbc这个依赖包中一共分成四个部分。 core,JdbcTemplate等相关核心接口和类 datasource,数据源相关的辅助类 obj ...

Wed Jul 22 06:26:00 CST 2020 0 839
管道的使用 以及grep的使用

ps aux | grep sshd 管道符 达到了既输出又存储的作用 管道命令 在做运维的时候,经常会遇到这个命令 ps -aux | grep xxx ps -aux 表示显示所有进程的 ...

Wed Apr 29 05:36:00 CST 2020 0 982
何时使用和不使用BBR

原文链接:https://blog.apnic.net/2020/01/10/when-to-use-and-not-use-bbr/ TCP BBR(Bottleneck Bandwid ...

Tue Sep 22 20:19:00 CST 2020 0 4460
SpringMVC的使用与requestMapper的使用

一、@RequestMapping 简介 在Spring MVC 中使用 @RequestMapping 来映射请求,也就是通过它来指定控制器可以处理哪些URL请求,相当于Servlet中在web.xml中配置 的映射作用一致。让我们先看一下RequestMapping注解类 ...

Tue May 07 07:41:00 CST 2019 0 1351
 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM