├── README.md ├── libAPAppView.dylib └── libAPAppView.h /README.md: -------------------------------------------------------------------------------- 1 | # libAPAppView 2 | ### Get Application View on SpringBoard. 3 | 4 | ## How to use 5 | To use libAPAppView, copy `libAPAppView.h` to `$THEOS/include` and `libAPAppView.dylib` to `$THEOS/lib`. Then you can add `XXX_LIBRARIES = APAppView` to your Makefile and `#import ` into any source files you want to use it in. Then add `Depends: com.rpgfarm.libapappview` to your control file. 6 | 7 | ## APAppView Interface 8 | ```objc 9 | @interface APAppView 10 | -(UIView *)viewForBundleID:(NSString *)bundleID; 11 | -(void)stopAppView; 12 | @end 13 | ``` 14 | 15 | ## [Example] Get stock "Calculator" application view 16 | ```objc 17 | APAppView *appView = [[APAppView alloc] init]; 18 | [yourView addSubview:[appView viewForBundleID:@"com.apple.calculator"]]; 19 | 20 | --- when viewwilldisappear --- 21 | 22 | [appView stopAppView]; 23 | ``` 24 | -------------------------------------------------------------------------------- /libAPAppView.dylib: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Baw-Appie/libAPAppView/e44e9f3fe540c96b0f3aaa0a817965132bcb5bb0/libAPAppView.dylib -------------------------------------------------------------------------------- /libAPAppView.h: -------------------------------------------------------------------------------- 1 | @interface APAppView : NSObject 2 | -(UIView *)viewForBundleID:(NSString *)bundleID; 3 | -(void)stopAppView; 4 | @end 5 | --------------------------------------------------------------------------------