To use libAPAppView, copy libAPAppView.h
to $THEOS/include
and libAPAppView.dylib
to $THEOS/lib
. Then add XXX_LIBRARIES = APAppView
to your tweak's Makefile and #import <libAPAppView.h>
into source code. Then add Depends: com.rpgfarm.libapappview
to control file.
@interface APAppView
-(UIView *)viewForBundleID:(NSString *)bundleID;
-(void)stopAppView;
@end
APAppView *appView = [[APAppView alloc] init];
[yourView addSubview:[appView viewForBundleID:@"com.apple.calculator"]];
--- when viewWillDisappear---
[appView stopAppView];
Version 1.0.1
2022-12-01
Version 1.0
2021-01-05
No changes