摘要: ViewController.h #import <UIKit/UIKit.h> @interface ViewController : UIViewController { //定义一个开关控件 //可以进行状态的改变 //开 关 两种状态可以切换 //所有UIKIts框架库中的控件均已UI开头 阅读全文
posted @ 2020-09-12 23:27 逆欢 阅读(89) 评论(0) 推荐(0) 编辑
摘要: ViewController.h #import <UIKit/UIKit.h> @interface ViewController : UIViewController { //定义一个定时器对象 //可以在每个固定时间发送消息 //调用此消息来调用相应的时间函数 //通过此函数可以在固定时间段来 阅读全文
posted @ 2020-09-12 22:55 逆欢 阅读(184) 评论(0) 推荐(0) 编辑