NativePlaceholderConfiguration
public final class NativePlaceholderConfiguration : StaticPlaceholderConfiguration
Configuration class for native placeholder. Inherited from StaticPlaceholderConfiguration, so you also can use object of this class in init method. Carefully study the description and purpose of the calss fields in the documentation, because some cases do not make sense (eg. behavior == .hideOnFocus && useAsMainPlaceholder == false)
-
Undocumented
Declaration
Swift
public init(font: UIFont, height: CGFloat, insets: UIEdgeInsets, colors: ColorConfiguration, behavior: NativePlaceholderBehavior, useAsMainPlaceholder: Bool, increasedRightPadding: CGFloat)
-
Undocumented
Declaration
Swift
public init(configuration: StaticPlaceholderConfiguration, behavior: NativePlaceholderBehavior, useAsMainPlaceholder: Bool, increasedRightPadding: CGFloat)