SwiftEntryKit icon indicating copy to clipboard operation
SwiftEntryKit copied to clipboard

Entries are obscured by the keyboard

Open bangjier opened this issue 4 years ago • 1 comments

The entry is covered by the keyboard, and WindowLevel is invalid by setting it. How can I make the entry in front of the keyboard Simulator Screen Shot - iPhone 11 - 2021-08-24 at 19 58 47 Simulator Screen Shot - iPhone 11 - 2021-08-24 at 20 00 00

bangjier avatar Aug 24 '21 12:08 bangjier

Can do with this . it's in the documentation.

let offset = EKAttributes.PositionConstraints.KeyboardRelation.Offset(bottom: 10, screenEdgeResistance: 20)
let keyboardRelation = EKAttributes.PositionConstraints.KeyboardRelation.bind(offset: offset)
attributes.positionConstraints.keyboardRelation = keyboardRelation

chathuralakmal avatar Dec 21 '24 16:12 chathuralakmal