You are viewing an old version of this page. View the current version.
Compare with Current View Page History
« Previous Version 4 Current »
This guide describes using the Stories widget in an iOS mobile app.
There are two integration ways to display Stories:
1. Create a new "View" in the StoryBoard editor. Change the "View" class from "UIView" to "StoriesView".
2. Add a variable to the "viewController.swift" controller:
@IBOutlet private weak var storiesBackView: StoriesView!
3. Initialize it:
// For example in viewDidLoad storiesBackView.configure(sdk: SDK, mainVC: self, code: "%CODE%")
1. Import the library:
import PersonaClick
2. Create "view":
var storiesView = StoriesView(frame: CGRect(x: 0, y: 0, width: 0, height: 0)) view.addSubview(storiesView)
3. initialize it:
// For example in viewDidLoad storiesView.configure(sdk: SDK, mainVC: self, code: "%CODE%")
Page Navigation
Related Pages