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-06-28 12:56:52 +0300
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
8c2f153b9db6896599d0b4db23f5e462cd04696b
8c2f153b
1 parent
22f730cc
fix openQuestionnaire
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
1 deletions
SwiftWarplyFramework/SwiftWarplyFramework/swiftApi.swift
SwiftWarplyFramework/SwiftWarplyFramework/swiftApi.swift
View file @
8c2f153
...
...
@@ -1495,7 +1495,7 @@ public class swiftApi {
for
item
in
GlobalVariables
.
campaigns
{
if
(
item
.
offer_category
==
"questionnaire"
)
{
let
storyboard
=
UIStoryboard
(
name
:
"Main"
,
bundle
:
Bundle
(
for
:
MyEmptyClass
.
self
))
let
vc
=
storyboard
.
instantiateViewController
(
withIdentifier
:
"CampaignViewController"
)
as!
CampaignViewController
let
vc
=
storyboard
.
instantiateViewController
(
withIdentifier
:
"CampaignViewController"
)
as!
SwiftWarplyFramework
.
CampaignViewController
let
url
=
swiftApi
()
.
constructCampaignUrl
(
item
)
vc
.
campaignUrl
=
url
controller
.
navigationController
?
.
pushViewController
(
vc
,
animated
:
true
)
...
...
Please
register
or
login
to post a comment