voice-overlay-ios
voice-overlay-ios copied to clipboard
Title and subtitle text get truncated
With specific combinations of title and subtitle text and device screen size you can end up with truncated text.
-
for permission screen subtitle was set to
First, you need to grant device permissions.
, but visible text is justFirst, you need to grant device
-
for no permission screen title was set to
Time can't create a Smart Memo
, but visible text is justTime can't create a
I poked around the sample app and found that removing override for viewDidLayoutSubviews()
in those UIViewControllers
fixes this issue. I'm not sure why it happens, thought. As preferredMaxLayoutWidth
should drive the max width of a UILabel, but if constraints have been set for both leading and trailing, then preferredMaxLayoutWidth
is not needed..?
Any thought on this?