Setting custom title & subtitle fonts using .applyStyling(...) extension forces the lib to update its height via updateBannerHeight().
It then crashes because bannerPosition == nil when a rotation is detected 💣
Happens more often on iPad when resuming activity from the background and the app UI rotates when becoming active again.
I suggest bannerPosition should be treated optional to avoid force unwrapping.
Setting custom title & subtitle fonts using
.applyStyling(...)
extension forces the lib to update its height viaupdateBannerHeight()
. It then crashes becausebannerPosition == nil
when a rotation is detected 💣 Happens more often on iPad when resuming activity from the background and the app UI rotates when becoming active again.I suggest
bannerPosition
should be treated optional to avoid force unwrapping.Device: iPad/ iPhone OS: iOS 16.x