Showing
5 changed files
with
4 additions
and
4 deletions
No preview for this file type
... | @@ -7,7 +7,7 @@ | ... | @@ -7,7 +7,7 @@ |
7 | <key>Pods-SwiftWarplyFramework.xcscheme_^#shared#^_</key> | 7 | <key>Pods-SwiftWarplyFramework.xcscheme_^#shared#^_</key> |
8 | <dict> | 8 | <dict> |
9 | <key>orderHint</key> | 9 | <key>orderHint</key> |
10 | - <integer>0</integer> | 10 | + <integer>1</integer> |
11 | </dict> | 11 | </dict> |
12 | </dict> | 12 | </dict> |
13 | </dict> | 13 | </dict> | ... | ... |
... | @@ -7,7 +7,7 @@ | ... | @@ -7,7 +7,7 @@ |
7 | <key>SwiftWarplyFramework.xcscheme_^#shared#^_</key> | 7 | <key>SwiftWarplyFramework.xcscheme_^#shared#^_</key> |
8 | <dict> | 8 | <dict> |
9 | <key>orderHint</key> | 9 | <key>orderHint</key> |
10 | - <integer>1</integer> | 10 | + <integer>0</integer> |
11 | </dict> | 11 | </dict> |
12 | </dict> | 12 | </dict> |
13 | </dict> | 13 | </dict> | ... | ... |
No preview for this file type
... | @@ -19,14 +19,14 @@ import SwiftEventBus | ... | @@ -19,14 +19,14 @@ import SwiftEventBus |
19 | super.viewDidLoad() | 19 | super.viewDidLoad() |
20 | 20 | ||
21 | var campaignUrl = campaignUrl.addingPercentEncoding(withAllowedCharacters: .urlQueryAllowed) | 21 | var campaignUrl = campaignUrl.addingPercentEncoding(withAllowedCharacters: .urlQueryAllowed) |
22 | - print("Webview url: " + campaignUrl) | 22 | + print("Webview url: " + (campaignUrl ?? "")) |
23 | 23 | ||
24 | self.hidesBottomBarWhenPushed = true | 24 | self.hidesBottomBarWhenPushed = true |
25 | 25 | ||
26 | setBackButton() | 26 | setBackButton() |
27 | 27 | ||
28 | webview.navigationDelegate = self | 28 | webview.navigationDelegate = self |
29 | - if let url = URL(string: campaignUrl) { | 29 | + if let url = URL(string: campaignUrl ?? "") { |
30 | webview.load(URLRequest(url: url)) | 30 | webview.load(URLRequest(url: url)) |
31 | webview.allowsBackForwardNavigationGestures = true | 31 | webview.allowsBackForwardNavigationGestures = true |
32 | } | 32 | } | ... | ... |
-
Please register or login to post a comment