Toggle navigation
Toggle navigation
This project
Loading...
Sign in
open-source
/
warply_sdk_framework
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Graphs
Network
Create a new issue
Commits
Issue Boards
Authored by
Manos Chorianopoulos
2022-07-11 13:11:40 +0300
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
91b05ee42fdbe6fa61ea03e01d48e259cb0ac21d
91b05ee4
1 parent
000dd418
fix webview url v2
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
4 additions
and
4 deletions
SwiftWarplyFramework/.DS_Store
SwiftWarplyFramework/Pods/Pods.xcodeproj/xcuserdata/manos.xcuserdatad/xcschemes/xcschememanagement.plist
SwiftWarplyFramework/SwiftWarplyFramework.xcodeproj/xcuserdata/manos.xcuserdatad/xcschemes/xcschememanagement.plist
SwiftWarplyFramework/SwiftWarplyFramework.xcworkspace/xcuserdata/manos.xcuserdatad/UserInterfaceState.xcuserstate
SwiftWarplyFramework/SwiftWarplyFramework/CampaignViewController.swift
SwiftWarplyFramework/.DS_Store
View file @
91b05ee
No preview for this file type
SwiftWarplyFramework/Pods/Pods.xcodeproj/xcuserdata/manos.xcuserdatad/xcschemes/xcschememanagement.plist
View file @
91b05ee
...
...
@@ -7,7 +7,7 @@
<key>
Pods-SwiftWarplyFramework.xcscheme_^#shared#^_
</key>
<dict>
<key>
orderHint
</key>
<integer>
0
</integer>
<integer>
1
</integer>
</dict>
</dict>
</dict>
...
...
SwiftWarplyFramework/SwiftWarplyFramework.xcodeproj/xcuserdata/manos.xcuserdatad/xcschemes/xcschememanagement.plist
View file @
91b05ee
...
...
@@ -7,7 +7,7 @@
<key>
SwiftWarplyFramework.xcscheme_^#shared#^_
</key>
<dict>
<key>
orderHint
</key>
<integer>
1
</integer>
<integer>
0
</integer>
</dict>
</dict>
</dict>
...
...
SwiftWarplyFramework/SwiftWarplyFramework.xcworkspace/xcuserdata/manos.xcuserdatad/UserInterfaceState.xcuserstate
View file @
91b05ee
No preview for this file type
SwiftWarplyFramework/SwiftWarplyFramework/CampaignViewController.swift
View file @
91b05ee
...
...
@@ -19,14 +19,14 @@ import SwiftEventBus
super
.
viewDidLoad
()
var
campaignUrl
=
campaignUrl
.
addingPercentEncoding
(
withAllowedCharacters
:
.
urlQueryAllowed
)
print
(
"Webview url: "
+
campaignUrl
)
print
(
"Webview url: "
+
(
campaignUrl
??
""
)
)
self
.
hidesBottomBarWhenPushed
=
true
setBackButton
()
webview
.
navigationDelegate
=
self
if
let
url
=
URL
(
string
:
campaignUrl
)
{
if
let
url
=
URL
(
string
:
campaignUrl
??
""
)
{
webview
.
load
(
URLRequest
(
url
:
url
))
webview
.
allowsBackForwardNavigationGestures
=
true
}
...
...
Please
register
or
login
to post a comment