Re: iOS: selectable but not editable text


Gerriet M. Denkmann
 

On 12 Apr 2022, at 19:31, Bob Stern via groups.io <bobs.lists@...> wrote:

Here's an untested idea worth a quick experiment: In a ZStack, superimpose a TextField view with .opacity(0) over a Text view.
Can select and copy, but only the content of the invisible TextField, not the (visible) Text below.

Gerriet.

Join {cocoa@apple-dev.groups.io to automatically receive all group messages.