基础组件库
Du kan inte välja fler än 25 ämnen Ämnen måste starta med en bokstav eller siffra, kan innehålla bindestreck ('-') och vara max 35 tecken långa.
 
 
 
 
 

36 rader
892 B

  1. #import "AppDelegate.h"
  2. #import "GeneratedPluginRegistrant.h"
  3. #import <zhiying_comm/ZhiyingCommNative.h>
  4. @implementation AppDelegate
  5. - (BOOL)application:(UIApplication *)application
  6. didFinishLaunchingWithOptions:(NSDictionary *)launchOptions {
  7. [GeneratedPluginRegistrant registerWithRegistry:self];
  8. // Override point for customization after application launch.
  9. [ZhiyingCommNative regist: self];
  10. return [super application:application didFinishLaunchingWithOptions:launchOptions];
  11. }
  12. // 公共跳转方法
  13. - (void)openPage: (NSDictionary*)params {
  14. }
  15. - (void)openNativePage: (NSDictionary*)params {
  16. NSString *method = [params valueForKey:@"method"];
  17. if ([method isEqualToString: @""]) {
  18. }
  19. }
  20. // 获取设置
  21. - (NSDictionary*)getSetting {
  22. return @{
  23. //@"domain": @"http://inapi.izhyin.cn"
  24. @"domain": @"http://192.168.0.113:5000"
  25. };
  26. }
  27. @end