Hi. how do I hide home indicator on iOS?
# compose-ios
g
Hi. how do I hide home indicator on iOS?
seems like I need to override prefersHomeIndicatorAutoHidden in UIViewController, which is returned by ComposeUIViewController(), but cant figure out how. Any ideas?
a
You need to create parent view controller which is subclass of UIViewController and override the
prefersHomeIndicatorAutoHidden
there. And use your
ComposeUIViewController
as a child view controler https://developer.apple.com/documentation/uikit/uiviewcontroller#1652844
g
thanks. that looks promising