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 just First, you need to grant device
for no permission screen title was set to Time can't create a Smart Memo, but visible text is just Time 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..?
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 thoseUIViewControllers
fixes this issue. I'm not sure why it happens, thought. AspreferredMaxLayoutWidth
should drive the max width of a UILabel, but if constraints have been set for both leading and trailing, thenpreferredMaxLayoutWidth
is not needed..?Any thought on this?