Giter VIP home page Giter VIP logo

Comments (6)

shgew avatar shgew commented on July 18, 2024 2

If you import KeyboardLayoutGuide at the top of the file, the error goes away.

from keyboardlayoutguide.

s4cha avatar s4cha commented on July 18, 2024 2

@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.

MainasuK avatar MainasuK commented on July 18, 2024 2

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.

MainasuK avatar MainasuK commented on July 18, 2024 1

@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.

s4cha avatar s4cha commented on July 18, 2024

@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)
Screenshot 2022-01-17 at 17 52 50
Screenshot 2022-01-17 at 17 53 02

from keyboardlayoutguide.

azun-khang avatar azun-khang commented on July 18, 2024

Thanks @MainasuK . I have the same issue with you. Luckily, your workaround/fix works for me.

from keyboardlayoutguide.

Related Issues (18)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.