You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I’m trying to pin a view to the top of the keyboard area using PinLayout. The code in the README looks like this: container.pin.bottom(view.pin.keyboardArea.top)
However, it fails to compile with the error: value of type 'CGRect' has no member 'top'
It seems that view.pin.keyboardArea returns a CGRect, and CGRect doesn’t provide a built-in top property. In other words, the example from the README is currently not working as intended.
Description
I’m trying to pin a view to the top of the keyboard area using PinLayout. The code in the README looks like this:
container.pin.bottom(view.pin.keyboardArea.top)
However, it fails to compile with the error:
value of type 'CGRect' has no member 'top'
It seems that view.pin.keyboardArea returns a CGRect, and CGRect doesn’t provide a built-in top property. In other words, the example from the README is currently not working as intended.
Environment
• PinLayout version: [e.g. 1.10.6]
• iOS version: [e.g. iOS 16.4]
• Swift version: [e.g. Swift 5.5]
• Xcode version: [e.g. Xcode 16.1]
The text was updated successfully, but these errors were encountered: