摘要: // // ViewController.swift // AVPlayer播放远程视频 // // Created by lujun on 2022/1/30. // import UIKit import AVKit class ViewController: UIViewController 阅读全文
posted @ 2022-01-30 11:44 johnson--save 阅读(628) 评论(0) 推荐(0)
摘要: // // ViewController.swift // 播放远程音乐 // // Created by lujun on 2022/1/29. // import UIKit import AVFoundation class ViewController: UIViewController { 阅读全文
posted @ 2022-01-30 08:57 johnson--save 阅读(132) 评论(0) 推荐(0)
摘要: // // AudioTool.swift // ReconderSuccess1 // // Created by lujun on 2022/1/27. // import UIKit import AVFoundation class AudioTool: NSObject { class f 阅读全文
posted @ 2022-01-27 17:33 johnson--save 阅读(190) 评论(0) 推荐(0)
摘要: // // ViewController.swift // ReconderSuccess1 // // Created by lujun on 2022/1/27. // import UIKit import AVFoundation class ViewController: UIViewCo 阅读全文
posted @ 2022-01-27 17:05 johnson--save 阅读(339) 评论(0) 推荐(0)
摘要: 核心源码 #import "LJPhoneTextField.h" // 设置RGB颜色 #define RGB(r,g,b) [UIColor colorWithRed:(r)/255.0f green:(g)/255.0f blue:(b)/255.0f alpha:1] @implementa 阅读全文
posted @ 2022-01-25 13:26 johnson--save 阅读(102) 评论(0) 推荐(0)
摘要: // // ViewController.swift // AudioRecoardDemo // // Created by lujun on 2022/1/25. // import UIKit import AudioToolbox import AVFoundation class View 阅读全文
posted @ 2022-01-25 12:44 johnson--save 阅读(333) 评论(0) 推荐(0)
摘要: #import "ViewController.h" #import <AVFoundation/AVFoundation.h> #import "LJPreView.h" //遵守代理 @interface ViewController ()<AVCaptureMetadataOutputObje 阅读全文
posted @ 2022-01-25 11:04 johnson--save 阅读(374) 评论(0) 推荐(1)
摘要: #import "DetailViewController.h" #import "UIView+Frame.h" #define kScreenW [UIScreen mainScreen].bounds.size.width #define KScreenH [UIScreen mainScre 阅读全文
posted @ 2022-01-25 10:57 johnson--save 阅读(193) 评论(0) 推荐(0)
摘要: ios15音频工具类封装 #import <Foundation/Foundation.h> @interface HMAudioTool : NSObject /** * 播放音乐 * * @param filename 音乐的文件名 */ + (BOOL)playMusic:(NSString 阅读全文
posted @ 2022-01-25 10:25 johnson--save 阅读(93) 评论(0) 推荐(0)
摘要: // // ViewController.m // 05-录音 // // Created by lujun on 2022/1/21. // #import "ViewController.h" #import <AVKit/AVKit.h> @interface ViewController ( 阅读全文
posted @ 2022-01-25 10:22 johnson--save 阅读(279) 评论(0) 推荐(0)