RecordScreen-iOS9- 0.1.2

RecordScreen-iOS9- 0.1.2

测试已测试
语言语言 Obj-CObjective C
许可证 MIT
发布最新版本2016 年 11 月

KyleWOng 维护。



  • KyleWong

RecordScreen-iOS9+

Icon

概述

RecordScreen-iOS9+ 是一个实现了 iOS9 及以上版本屏幕录制的项目。

功能

a.A video recording your screen in your app with ReplayKit.
b.Red dots indicating user action.
c.A log file for user action locating in the /path-to-your-app's-document-directory/nkrecordscreen/log.txt.

如何使用

您的应用程序激活时开始录制,并及时保存视频。如果您想自己实现,可以像下面这样调用:

StartRecording:[[NKRecordManager sharedInstance] startRecording];
StopRecording:[[NKRecordManager sharedInstance] stopRecording];

安装

手动安装

Simply add those files .h and .m files to your project.

缺陷

Apple's ReplayKit seems to hide some content when recording, like the statusbar, UIActionSheet,etc. I guess it might due to their consideration to user's privacy.
On the other side, I did some kind of method swizzle in order to save the video automatically, that is to say, it might be rejected by the review team for use of private api.You can disable it by remove those method-swizzle-related category codes if needed.   

许可证

RecordScreen-iOS9+ 在 MIT 许可证下发布。有关详细资料,请参阅 LICENSE。