SandboxAccessor is a lib based on mongoose to access sandbox more easier.
Step1:import header
#import "SandboxAccessor.h"
Step2: enable
NSError* error = nil;
[[SandboxAccessor shareAccessor] enable:&error];
if (!error) {
NSLog(@"SandboxAccessor enabled. You can use web browser to access url: http://myip:28686");
}
- Lookup ip of phone.
- Connect to wifi which phone connected.
- open web browse, and access url: http://the-phone-ip:28686
Please add #ifdef OBJC #endif in pch file.
#ifdef __OBJC__
#import ....
#import ....
#import ....
#endif
MIT