我正在尝试使用私有框架在IOS 5.1中打开/关闭飞行模式.
在AppSupport.framework中,RadiosPreferences有一个属性来获取/设置飞行模式并设置值
./AppSupport.framework/RadiosPreferences.h:
@property BOOL airplaneMode;
Run Code Online (Sandbox Code Playgroud)
./AppSupport.framework/RadiosPreferences.h:
- (void)setAirplaneMode:(BOOL)arg1;
Run Code Online (Sandbox Code Playgroud)
我该如何使用这些方法?我是否需要以dlsym某种方式使用创建对象并调用方法?有人可以帮我提供示例代码或方法.