2
0

WFCAboutViewController.m 977 B

123456789101112131415161718192021222324252627282930313233343536
  1. //
  2. // WFCAboutViewController.m
  3. // WFChatUIKit
  4. //
  5. // Created by heavyrain.lee on 2019/1/22.
  6. // Copyright © 2019 heavyrain.lee. All rights reserved.
  7. //
  8. #import "WFCAboutViewController.h"
  9. #import <WebKit/WebKit.h>
  10. @interface WFCAboutViewController ()
  11. @property(nonatomic, strong)WKWebView *webview;
  12. @end
  13. @implementation WFCAboutViewController
  14. - (void)viewDidLoad {
  15. [super viewDidLoad];
  16. self.webview = [[WKWebView alloc] initWithFrame:self.view.bounds];
  17. [self.webview loadRequest:[NSURLRequest requestWithURL:[NSURL URLWithString:@"http://www.wildfirechat.cn"]]];
  18. [self.view addSubview:self.webview];
  19. }
  20. /*
  21. #pragma mark - Navigation
  22. // In a storyboard-based application, you will often want to do a little preparation before navigation
  23. - (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender {
  24. // Get the new view controller using [segue destinationViewController].
  25. // Pass the selected object to the new view controller.
  26. }
  27. */
  28. @end