StorylyMoments

@objc
public final class StorylyMoments : NSObject

This class is the main class of Storyly Moments.

  • RootviewController of the Storyly Moments

    Declaration

    Swift

    @objc
    public weak var rootViewController: UIViewController?
  • Initializer of the Storyly Moments

    Declaration

    Swift

    @objc
    public init(config: Config, storylyMomentsDelegate: StorylyMomentsDelegate? = nil)

    Parameters

    config

    Config of Storyly Moments

    storylyMomentsDelegate

    Storyly Moments delegate to notified about Moments events and user actions

  • This function opens user’s own stories if there is any

    Declaration

    Swift

    @objc
    public func openMyStories()
  • This function opens media gallery

    Declaration

    Swift

    @objc
    public func createStory(mediaImport: MediaImport? = nil)

    Parameters

    mediaImport

    If this parameter is set, this function directly opens create story screen with provided media