Object-C共25篇
AVFoundation - AVAssetExportSession 裁剪/转码-猿说编程

AVFoundation – AVAssetExportSession 裁剪/转码

AVAssetExportSession 裁剪/转码 - /* 参数: asset :要导出的会话 presetName :字符串常量 */ - (instancetype)initWithAsset:(AVAsset *)asset presetName:(NSString *)presetName; + (inst...
猿说编程的头像-猿说编程钻石会员猿说编程4年前
028313
Object-C 保存文件到相册-猿说编程

Object-C 保存文件到相册

Object-C 保存文件到相册 1.UIImageWriteToSavedPhotosAlbum 2.AssetsLibrary 3.PHPhotoLibrary Xcode – This app has attempted to access privacy-sensitive data without a usage descripti...
猿说编程的头像-猿说编程钻石会员猿说编程4年前
011211
AVFoundation – AVPlayer 播放视频-猿说编程

AVFoundation – AVPlayer 播放视频

AVFoundation – AVPlayer 播放视频 - AVPlayer 控制播放器的播放,暂停,播放速度;注意更改播放速度要在视频开始播放之后才会生效; AVPlayerItem 管理资源对象,提供播放数据源; AVPlayerLay...
猿说编程的头像-猿说编程钻石会员猿说编程4年前
018933
Xcode - This app has attempted to access privacy-sensitive data without a usage description.-猿说编程

Xcode – This app has attempted to access privacy-sensitive data without a usage description.

Xcode - This app has attempted to access privacy-sensitive data without a usage description.
猿说编程的头像-猿说编程钻石会员猿说编程4年前
011722
AVFoundation – AVPlayerItem 管理资源对象-猿说编程

AVFoundation – AVPlayerItem 管理资源对象

AVPlayerItem 管理资源对象 - AVPlayerItem 作为资源管理对象,它控制着视频从创建到销毁的诸多状态。 //播放状态 status typedef NS_ENUM(NSInteger,AVPlayerItemStatus) { AVPlayerItemStatus...
猿说编程的头像-猿说编程钻石会员猿说编程4年前
017512
AVFoundation - AVAssetExportSession 导出视频到沙盒目录-猿说编程

AVFoundation – AVAssetExportSession 导出视频到沙盒目录

AVFoundation - AVAssetExportSession 导出视频到沙盒目录 AVAsset 是 AVFoundation 框架中的核心的类,它提供了基于时间的音视频数据.(如电影文件,视频流),一个 asset 包含很多轨道的结合,如 au...
猿说编程的头像-猿说编程钻石会员猿说编程4年前
015603
AVFoundation – AVPlayerLayer 显示视频-猿说编程

AVFoundation – AVPlayerLayer 显示视频

AVPlayerLayer 显示视频 - AVPlayerLayer 构建于 Core Animation 之上,是 AVFoundation 中位数不多的可见组件。AVPlayerLayer 扩展了 Core Animation 的 CALayer 类,通过框架在屏幕上显示视频...
猿说编程的头像-猿说编程钻石会员猿说编程4年前
012572
Xcode - Embedded binary's bundle identifier is not prefixed with the parent app's bundle identifier-猿说编程

Xcode – Embedded binary’s bundle identifier is not prefixed with the parent app’s bundle identifier

Xcode - Embedded binary's bundle identifier is not prefixed with the parent app's bundle identifier - 如果是直接从网上下载的工程,首先检查工程 TARGETS 下的 Bundle Identifier 是否已...
猿说编程的头像-猿说编程钻石会员猿说编程4年前
028580
AVFoundation – AVQueuePlayer 播放多个媒体文件-猿说编程

AVFoundation – AVQueuePlayer 播放多个媒体文件

AVQueuePlayer 播放多个媒体文件 - 使用该方法在 AVPlayer 播放多个视频时,是很容易出现性能问题的,切换视频时会存在卡顿现象,尤其在视频内容比较多的时候,无法完美衔接,中间会有一个短暂...
猿说编程的头像-猿说编程钻石会员猿说编程4年前
018502
Xcode - Your maximum App ID limit has been reached. You may create up to 10 App IDs every 7 days-猿说编程

Xcode – Your maximum App ID limit has been reached. You may create up to 10 App IDs every 7 days

Xcode - Your maximum App ID limit has been reached. You may create up to 10 App IDs every 7 days - 1.出现这种情况,直接用上一次的 Bundle ID 就行了,因为免费 App ID 账号苹果官方有所限...
猿说编程的头像-猿说编程钻石会员猿说编程4年前
021850