Post

Replies

Boosts

Views

Activity

Disabling the extra buttons on UIReferenceLibraryViewController
Hi! I am developing a word game for children. It is intended to be educational and help children pass the time by playing. I use UIReferenceLibraryViewController ( I use a UIViewControllerRepresentable as the app is essentially in SwiftUI) to show a definition of a word that the child comes across during play. This part works fine - except that the view contains a button to look on the web, and another to manage dictionaries - both of which I do not want children to be able to do. How do I disable these buttons? Alternatively, is there a way to just get the dictionary definition text and show that in a custom view?
2
0
621
Jan ’24