Skip to main content
Version: 5.3

Background

Background Page

To create your own Background page, you create a class that implements BaseBackgroundComponent.

import SwiftUI
import MealziOSSDK

@available(iOS 14, *)
public struct MyCustomBackgroundView: BackgroundProtocol {
public func content(params: BaseBackgroundParameters) -> some View {
// your implementation here
}
}

with

public struct BaseBackgroundParameters {