iOS-Runtime-Headers icon indicating copy to clipboard operation
iOS-Runtime-Headers copied to clipboard

How to use Private APIs

Open GasperC opened this issue 11 years ago • 7 comments

I just can't figure out how to use these private APIs in my project. Could someone put together a decent tutorial so newbies on this field could get started?

It would be greatly appreciated, since i had no luck with googling and stackoverflow.

Thanks

GasperC avatar Mar 26 '14 12:03 GasperC

Just import the headers in your project, then you can use the private API BUT your app will be rejected if you do so

发自我的 iPhone

在 2014年3月26日,下午8:50,GasperC [email protected] 写道:

I just can't figure out how to use these private APIs in my project. Could someone put together a decent tutorial so newbies on this field could get started?

It would be greatly appreciated, since i had no luck with googling and stackoverflow.

Thanks

— Reply to this email directly or view it on GitHub.

aelam avatar Mar 26 '14 13:03 aelam

For researching purpose, I read this article http://ciechanowski.me/blog/2014/05/14/mesh-transforms/

I don't know how to make it work. any help plz!

rathahin avatar May 28 '14 10:05 rathahin

Is anybody could help this issue?? How to use these headers? Should i just put them all in my project or put them in framework?? How?? What exact steps do I need to do?? Thanks!

Roxasora avatar Jan 09 '15 10:01 Roxasora

A very helpful video can be found here. Below video teach us how to use "Framework" in private API. https://www.youtube.com/watch?v=OLX7b_KZIvg

Btw, does anyone know if I wanna implement the PROTOCOL inside "protocol folder", how can I make it? I can't find the path of those protocol in my Xcode.

Thanks in advance.

kun-yu-tsai avatar Sep 07 '15 11:09 kun-yu-tsai

is there any issue to put the app on the apple store when we used the private APIs

tahasiddiqui123 avatar Mar 14 '16 16:03 tahasiddiqui123

@tahasiddiqui123 Apple will reject the app as it is direct violation of the App Store Review Guidelines Section 2.5

There are ways around it but the tricks don't always work.

joshluongo avatar Mar 14 '16 21:03 joshluongo

@joshluongo Thanks :+1:

tahasiddiqui123 avatar Mar 15 '16 06:03 tahasiddiqui123