SwiftEntryKit v0.8.8 Release Notes

  • ๐Ÿ› Bug Fixes:

    #109

    Issue #109 - StatusBar appareance when moving to another UIViewController. Added another tatus bar type - .ignored. Using this ignores the status bar when the entry enters/exits the screen.

    #143

    Issue #143 - Orientation incorrect when set to .portraitUpsideDown on iPhone. ๐Ÿ”„ Changed isRotationEnabled to Rotation structure.

    /** Rotation related position constraints */
    public struct Rotation {
    
        /** Attributes of supported interface orientations */
        public enum SupportedInterfaceOrientation {
    
            /** Uses standard supported interface orientation (target specification in general settings) */
            case standard
    
            /** Supports all orinetations */
            case all
        }
    
        /** Autorotate the entry along with the device orientation */
        public var isEnabled: Bool
    
        /** The screen autorotates with accordance to this option */
        public var supportedInterfaceOrientations: SwiftEntryKit.EKAttributes.PositionConstraints.Rotation.SupportedInterfaceOrientation
    }
    

    Button Bar Horizontal Distribution Threshold

    ๐Ÿ‘ EKProperty.ButtonBarContent supports an upper horizontal threshold for its button distribution. EKProperty.ButtonBarContent has an Int property named horizontalDistributionThreshold. It must be positive.