...
Code Block |
---|
|
public enum VisilabsFavoriteAttribute: String {
case ageGroup
case attr1
case attr2
case attr3
case attr4
case attr5
case attr6
case attr7
case attr8
case attr9
case attr10
case brand
case category
case color
case gender
case material
case title
} |
Story Actions
Story actions allow you to add widgets similar to "Instagram Story" list view on your iOS devices. getStoryView
method returns an instance of VisilabsStoryHomeView
which is a subclass of UIView
.
Code Block |
---|
|
let storyView = Visilabs.callAPI().getStoryView()
view.addSubview(storyHomeView) |
You can also access a story action by specifying the ID of the Targeting Action.
Code Block |
---|
|
let storyView = Visilabs.callAPI().getStoryView(actionId: 67)
view.addSubview(storyHomeView) |
Geofencing
To enable location services in your application first of all you need to add the following keys to your Info.plist
file.
...