Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
private-api 識別ツールが機能するかどうかをテストするために、Private API で生成された ipa ファイルが必要です。そのようなファイルを見つける方法を教えてもらえますか? ありがとう。
最も簡単な方法は、自分で作成することです。
このコードを.hまたは.mファイルの先頭に配置するだけです。
@interface UIDevice() -(float)_backlightLevel; @end
そして、コード呼び出しでは:
float a = [[UIDevice currentDevice] _backlightLevel]; NSLog(@"Backlight level %f", a);
現在、プライベートAPIを使用しています。