importing private frameworks in Xcode

前端 未结 2 521
执念已碎
执念已碎 2021-02-09 09:22

I am a novice iPhone programmer I want to use some of the functions in the private framework

https://github.com/kennytm/iphone-private-frameworks

The function th

相关标签:
2条回答
  • 2021-02-09 10:18

    I'm not sure if this works, but here a suggestion: I think the spring board framework should be in the UIKit framework you already linked anyway, so just add the header file to your project and it should work.

    Otherwise this could help you: http://www.codethecode.com/projects/class-dump/

    0 讨论(0)
  • 2021-02-09 10:19

    Place all of your private headers in a directory like: /User/Name/Headers/ then set USER_HEADER_SEARCH_PATHS = "/User/Name/Headers/" and make sure that ALWAYS_SEARCH_USER_PATHS = YES

    Also, SpringBoard.framework is not the way to do that.Simply place the folder named SpringBoard in the above Headers folder, making sure that the headers are directly inside them. For instance: SpringBoard/SBAlert.h

    /*  SpringBoard is not a framework.  */
    

    Notice that you wont have to add the SpringBoard folder to your project, they should appear as you start typing, as long as you set the above headers correctly.

    0 讨论(0)
提交回复
热议问题