Re: iOS: selectable but not editable text


Bob Stern
 

On 9 Apr 2022, at 23:59, Gerriet M. Denkmann wrote:

NSTextField can set both isSelectable (true) and isEditable (false). So far so good.
But how to do this in iOS?

Is this a new project or one in which you already developed a lot of code? I get the impression it is new because your preceding post concerns an existing UIKit app that you want to port to Mac using Catalyst, whereas your second post, quoted above, implies you're starting from AppKit. If this is a new project, it might be easier to develop it in SwiftUI.

Bob

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