Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Opening the keyboard pulls all annotations into one corner #89

Open
cosmopolit opened this issue Feb 25, 2022 · 1 comment
Open

Opening the keyboard pulls all annotations into one corner #89

cosmopolit opened this issue Feb 25, 2022 · 1 comment

Comments

@cosmopolit
Copy link

cosmopolit commented Feb 25, 2022

I added a search field directly into the ARViewController class. The search field has been added to the controlContainerView as a subview.

I previously wanted to integrate the search as an accessory, but I couldn't change the original ARAnnotations array in the demo project from the custom accessory class.

So far everything is fine and the search field is working. However, as soon as the keyboard is opened and i move the AR-View around, all POI's are gradually dragged to the upper left corner. As if they are attracted to a magnet in the corner.

Instead of the overlay, I also tried sliding the camera screen up when opening the keyboard. Various adjustments to the parameters were also unsuccessful. After the keyboard has been shown or hidden, the camera view remains in this state.

Does anyone have an idea how to correct this situation?

@cosmopolit
Copy link
Author

@DanijelHuis please answer when you have any idea or hint for this issue. I like your lib very much and i want to use it for my project. Searching is an essential feature for my app..

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant