Sakhabaev Egor
Sakhabaev Egor
Screenshot of iOS versions i posted in first message. Device States here:  Raw text: ``` Crashed: com.apple.main-thread 0 SwiftEntryKit 0x1051c0570 $s13SwiftEntryKit16EKWindowProviderC20setupWindowAndRootVC33_508357B7538CEB0C8D4141987D5008BELLAA20EKRootViewControllerCyF + 104 1 SwiftEntryKit 0x1051c03e4 $s13SwiftEntryKit16EKWindowProviderC7prepare33_508357B7538CEB0C8D4141987D5008BELL3for22presentInsideKeyWindowAA20EKRootViewControllerCSgAA12EKAttributesV_SbtF + 40...
@huri000 I can't reproduce this behavior outside this project. But, i've noticed, that these 2 lines (apart and together) affect performance in this entry (with other entries all is fine...
> @huri000 I can't reproduce this behavior outside this project. > But, i've noticed, that these 2 lines (apart and together) affect performance in this entry (with other entries all...
Thanks. Yes, with SwiftEntryKit.layoutIfNeeded() it works, but with SwiftEntryKit.layoutIfNeeded() there is another issue, with safe area now. Attribute has: ``` attributes.entryBackground = .color(color: someColor) attributes.positionConstraints.safeArea = .empty(fillSafeArea: true) ``` and...
Oh, it's not related safe area. On iPhone 7 the same issue with bottom blank space.
@huri000 Hello! Sorry to disturb you, but have you had a chance to look at this issue? (with bottom blank space when view is decreasing height.) Thank you so much
Strange, because if set entryBackground to clear and set background color to my view - everything is fine
View is like: UIVIew: -UILabel -UIView (dynamic height) -UILabel and all subview has vertical space to each other and we increase, decrease height of `UIView (dynamic height)`
@huri000 finally, I found where is an issue. If set roundCorners EntryKit does something like that: ``` let path = UIBezierPath(roundedRect: self.bounds, byRoundingCorners: corners, cornerRadii: CGSize(width: radius, height: radius)) let...
I've looked at your code, saw that you call applyFrameStyle in layoutSubviews. So seems that's not the reason, but if set roundCorners to .none, everything is fine.