|
@@ -32,7 +32,8 @@
|
|
[self.webView.layer setCornerRadius:1.0f];
|
|
[self.webView.layer setCornerRadius:1.0f];
|
|
self.webView.layer.masksToBounds = YES;
|
|
self.webView.layer.masksToBounds = YES;
|
|
[self.webView.layer setBorderColor:[[NSColor darkGrayColor] CGColor]];
|
|
[self.webView.layer setBorderColor:[[NSColor darkGrayColor] CGColor]];
|
|
-
|
|
|
|
|
|
+ self.webView.policyDelegate = self;
|
|
|
|
+
|
|
NSBundle *bundle = [NSBundle mainBundle];
|
|
NSBundle *bundle = [NSBundle mainBundle];
|
|
NSURL *path = [bundle URLForResource:@"about" withExtension:@"html"];
|
|
NSURL *path = [bundle URLForResource:@"about" withExtension:@"html"];
|
|
if(path) {
|
|
if(path) {
|