Comments (6)
If you import KeyboardLayoutGuide at the top of the file, the error goes away.
from keyboardlayoutguide.
@KYHyeon Yeah I saw they announced keyboardLayoutGuide
and I figured names would probably collide.
Looks like we got "Sherlocked" but I'm glad this is now becoming official, it's every maintainer goal !
Does @shgew solution fixes your issue? What version of Xcode are you using to be able to target iOS 15 ?
from keyboardlayoutguide.
The workaround not fix the app target for iOS 15 only. The app still find and use the keyboardLayoutGuide
from UIKit but not the package.
https://github.com/MainasuK/KeyboardLayoutGuide/tree/fix/iOS15
Rename the guide is works for me. That change will break the other dependencies. So if you think that is fine I could make a PR.
from keyboardlayoutguide.
@s4cha You can try push a view in navigation stack or present a modal then dismiss it. The native one get a bug in iOS 15.0 build in my case.
The bug also described in that blog:
https://useyourloaf.com/blog/keyboard-layout-guide/
from keyboardlayoutguide.
@MainasuK that is weird, just tried locally creating an iOS15+ only app and whenever I add import KeyboardLayoutGuide
at the top of the file, it uses the library one and the Native one when removing the import (see screenshots attached)
from keyboardlayoutguide.
Thanks @MainasuK . I have the same issue with you. Luckily, your workaround/fix works for me.
from keyboardlayoutguide.
Related Issues (18)
- Adding safe area to the keyboard layout guide HOT 1
- Swift 4.2
- KeyboardLayoutGuide does not update during UIScrollView.KeyboardDismissMode.interactive animation HOT 1
- issue with iphone 5s when testing!! HOT 2
- Not working properly with Tabbar HOT 2
- Provide option to use safe area or not HOT 2
- Not working in iMessage extension HOT 1
- Better API for using safe area HOT 1
- Extraneous space between view and keyboard HOT 1
- Weird animation when the first responder is a secured textfield. HOT 2
- Wrong guide position when keyboard doesn't intersect view HOT 1
- Keyboard dismiss mode is interactive HOT 2
- Bringing back Cocoapods/Carthage support HOT 4
- Wrong guide position when you use the floating keyboard on iPad HOT 2
- Incorrect name of pod HOT 2
- Xcode 13 beta 3 - SwiftPM - Build error: UIApplication.shared not available in iOS App Extension HOT 1
- SnapKit - Animations does not work.
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from keyboardlayoutguide.