基础组件库
Nie możesz wybrać więcej, niż 25 tematów Tematy muszą się zaczynać od litery lub cyfry, mogą zawierać myślniki ('-') i mogą mieć do 35 znaków.

AppDelegate.m 897 B

4 lat temu
4 lat temu
4 lat temu
4 lat temu
1234567891011121314151617181920212223242526272829303132333435
  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://120.76.175.204:8989"
  24. @"domain": @"http://192.168.0.113:5000"
  25. };
  26. }
  27. @end