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

Не деинитится вью контроллер на вью которого добавлена YMKMapView на iOS 18 #247

Open
kryzhikh opened this issue Sep 23, 2024 · 3 comments

Comments

@kryzhikh
Copy link

Здравствуйте!

Столкнулись со следующей проблемой: вью контроллер, на вью которого добавлено вью карты YMKMapView не деинитится, когда его больше никто не держит. Воспроизводится только на iOS 18

Также при установке фрейма для YMKMapView в консоль выводится сообщение: Modifying properties of a view's layer off the main thread is not allowed: view <YRTMetalView: 0x106b0e0c0> with nearest ancestor view controller <YandexMapsCheck_iOS18Dealloc.MapViewController: 0x106d18380>. При этом установка происходит в главной очереди.

Пример проекта, демонстрирующего проблему, прикрепил:
YandexMapsCheck_iOS18Dealloc.zip

Шаги:

  1. зайти на карту по кнопке
  2. уйти с карты
  3. принт в деините вью контроллера не вызывается
@pavelannin
Copy link

+1

1 similar comment
@SelyutinSergey
Copy link

SelyutinSergey commented Sep 26, 2024

+1

@artsuvv
Copy link

artsuvv commented Sep 26, 2024

+1

Повторяется на всех версиях начиная с 4.1.0 фулл/лайт
На 4.0.1 не течет, но не запускается на 16 xcode

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

4 participants