摘要:
#import <AVFoundation/AVFoundation.h> @interface ViewController () @property(nonatomic,strong)AVAudioPlayer *player; @end @implementation ViewControll 阅读全文
摘要:
/** *创建一个队列(串行) **/ dispatch_queue_t queue1 = dispatch_queue_create("queue1", DISPATCH_QUEUE_SERIAL); /** *添加代码块 执行线程的路径 **/ dispatch_async(queue1, ^{ 阅读全文
摘要:
创建并调用本地通知的几个步骤 1,创建本地通知 2,设置处理时间 3,设置通知主体 4,可以设置传递的参数userinfo 5,调用通知 - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(N 阅读全文