Visual constructor

Test out the best Paywalls and Welcome pages of your iOS Apps with Appflow.ai Visual Constructor


Test out the best Paywalls and Welcome pages of your iOS Apps with Appflow.ai Visual Constructor.

Paywall

The SDK provides a shortcut for displaying paid products. After setting the style in Appflow.ai plaltform, you can display it by call method:

Appflow.shared.loadPaywallToPurachase {[weak self] result, msg in
    guard let `self` = self else { return }
    if result == false {
        //if false , Developers can jump to the native payment page
    }
}

Welcome Page

The SDK adds the View of AppflowWelcomePage. If the user needs to start the welcome page, the configuration of the page needs to be configured on the Appflow.ai platform. The welcome page loading method can be referred to as follows:

// loading WelcomPage
func loadLaunchScreenView() {
    // customized launch screen
    if let window = self.window {
        window.backgroundColor = .white
        let welcomPageView = AppflowWelcomePage(frame: window.bounds)
        welcomPageView.waitingTime = 6
        self.window?.makeKeyAndVisible()
        self.window?.addSubview(welcomPageView)
        self.window?.bringSubviewToFront(welcomPageView)
    }
}

Note

It may take time to load the welcome page for the first time. The default loading waiting time is the 30s. Users can set waiting time according to their needs.

Last updated