Post

Replies

Boosts

Views

Activity

Reply to Change Xcode Preview from "Live" to "Selectable" permanently?
We have a similar use case. Previously, we were able to force the selectable mode using sizeThatFits layout and it worked great. Now, this is being ignored and all our previews start in live mode. But for inspecting the component and interactive work, we would like to force some previews to be in selectable mode. Either by respecting the sizeThatFits layout modifier (if present -> use selectable mode) or by introducing a new modifier such as previewMode(.live/.selectable).
May ’23