CreationKit Documentation

Enumeration Form​Configuration.​Action​Button​Style

public enum ActionButtonStyle  

Styles that the Form can support.

Member Of

FormConfiguration

A type to configure a FormViewController.

Enumeration Cases

none

case none

Don't show an action button

floating

case floating

Will show a floating action button. This will hover over the form at the bottom and will always be shown.

bottom

case bottom

Will show the action button at the bottom of the form. If the form is longer than the screen size, the user will have to scroll to the bottom of the form to see the button. Note if the form is very short, the button will be displayed directly after the last row in the form. If you want the button to always be at the bottom of the screen, even if the form is short or long, you may want to use the floating or bottomAutoHiding styles.

bottom​Auto​Hiding

case bottomAutoHiding

Will show the action button at the bottom of the screen. If the form is longer than the screen size, the user will have to scroll to the bottom of the form to see the button. If the form isn't larger that the screen size, the button will be displayed at the bottom of the screen, rather than at the end of the form.