You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
flutter_cocos_view_pod/cocos_view_pod/Classes/dcocos_bridge.h

28 lines
927 B

//
// dcocos_bridge.h
// dcocos_bridge
//
// Created by gem on 29/8/2024.
//
#import <Foundation/Foundation.h>
#import <UIKit/UIKit.h>
#import "platform/ios/AppDelegateBridge.h"
@interface dcocos_bridge : NSObject
+ (dcocos_bridge *)instance;
- (void)initPlatform;
- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions;
- (void)applicationWillResignActive:(UIApplication *)application;
- (void)applicationDidBecomeActive:(UIApplication *)application;
- (void)applicationWillTerminate:(UIApplication *)application;
- (void)viewWillTransitionToSize:(CGSize)size withTransitionCoordinator:(id<UIViewControllerTransitionCoordinator>)coordinator;
- (UIView*)getCocosView;
- (void)setCocosView:(UIView*)view;
- (float)getCocosPixelRatio;
+ (void)callS:(NSString *)funcName args:(NSString *)args;
@property(nonatomic, readonly) AppDelegateBridge *appDelegateBridge;
@end