Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

Unable to disable distance handling for UIHostingControllers

Aperta
#2,182 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
3/5
Tempo stimato
1-2 giorni
Idoneità per principianti
65/100
Tipo di issue
Funzionalità
Chiarezza
Abbastanza chiara
Stato di attività
Tranquilla
Stack tecnologico
swift
Ambito
mobile

Direzione di ricerca

Start by locating the existing disabledDistanceHandlingClasses property and the distance-handling logic that matches classes. Trace how UIHostingControllers and SwiftUI view types are identified, then determine where the requested disabledDistanceForUIHostingViewControllers option belongs. Done means callers can disable distance handling for UIHostingControllers without disabling it for unrelated views.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

Is your feature request related to a problem? Please describe.
There's disabledDistanceHandlingClasses property but it cannot be used for UIHostingControllers because of the class matching, you cannot add any kind of exception that would exclude UIHostingControllers for specific view type or even for all of SwiftUI types

Describe the solution you'd like
Add a property disabledDistanceForUIHostingViewControllers.

Describe alternatives you've considered
I'm not sure if other ways are stable enough, seems like disabling the distance handling for all SwiftUI views is the only way to fix it.

Additional context
Nope

Lingua principale
Swift
Stelle
16.6k
Fork
2.4k
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di hackiftekhar/IQKeyboardManager

Tutte le issue di hackiftekhar/IQKeyboardManager

Issue simili

Altre issue su Swift

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.