ModalSize

public enum ModalSize

Descibes a presented modal’s size dimension (width or height). It is meant to be non-specific, but the exact position can be calculated by calling the ‘calculate’ methods, passing in the ‘parentSize’ which only the Presentation Controller should be aware of.

  • Default: Default.
  • Half: Half of the screen.
  • Full: Full screen.
  • Custom: Custom fixed size. To be used only when we want a specific size, and are sure it wont be bigger than any device’s screen, like in a small Alert.
  • Undocumented

    Declaration

    Swift

    public enum ModalSize
  • Undocumented

    Declaration

    Swift

    public enum ModalSize
  • Undocumented

    Declaration

    Swift

    public enum ModalSize
  • Undocumented

    Declaration

    Swift

    public enum ModalSize