iOS 加载本地的html

NSURL *url1 = [[NSBundle mainBundle] URLForResource:@"privacyPolicy" withExtension:@"html"];
[self.wkWV loadRequest:[NSURLRequest requestWithURL: url1]];

你可能感兴趣的:(iOS 加载本地的html)