Fuction_Tool.m 732 B

123456789101112131415161718192021222324252627
  1. //
  2. // Fuction_Tool.m
  3. // Asteria
  4. //
  5. // Created by 王猛 on 2023/5/22.
  6. //
  7. #import "Fuction_Tool.h"
  8. @implementation Fuction_Tool
  9. +(void)push_BaseWebUrl:(NSString *)url webTitle:(NSString *)title{
  10. XXX_BaseWebC *vc = [[XXX_BaseWebC alloc] init];
  11. [vc xxx_dsWebLoadUrl:url];
  12. vc.webTitle = title;
  13. [[Current_normalTool topViewController].navigationController pushViewController:vc animated:true];
  14. }
  15. +(void)push_JSBaseWebUrl:(NSString *)url webTitle:(NSString *)title{
  16. XXX_BaseWebC *vc = [[XXX_BaseWebC alloc] init];
  17. [vc xxx_dsWebLoadUrl:url];
  18. vc.webTitle = title;
  19. [vc tool_dsWebViewAddJS];
  20. [[Current_normalTool topViewController].navigationController pushViewController:vc animated:true];
  21. }
  22. @end