gpt4 book ai didi

ios - 将 GraphicsServices 私有(private)框架添加到 IOS

转载 作者:塔克拉玛干 更新时间:2023-11-02 21:49:52 25 4
gpt4 key购买 nike

实际上我需要以编程方式锁定我的 iPhone,我在互联网上搜索过,也有一些想法,即使用 GraphicsServices.frameworkGSEventLockDevices() 方法.. 问题是:如何向我的项目添加私有(private)框架?我知道这是越狱,但没问题。

谁能帮我向 Xcode 添加私有(private)框架并以编程方式锁定设备?

最佳答案

查看私有(private)框架 header :https://github.com/rpetrich/iphoneheaders

enter image description here

首先复制一个Private Frameworks Your Project。并添加一个 #import "GSEvent.h"

GSEvent header 已在您的项目中。所以,作为相对路径必须是

关于ios - 将 GraphicsServices 私有(private)框架添加到 IOS,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/11771948/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com