Contents

transliterateChinese(_:)

Converts the selected text between traditional and simplified Chinese.

Declaration

optional func transliterateChinese(_ sender: Any?)

Discussion

To invoke the standard system behavior for transliterating Chinese text, call transliterateChinese(forText:) in your implementation of this method.

When you change the selected text in your implementation of this method, notify the system by calling selectionWillChange(for:) and selectionDidChange(for:).

See Also

Translating and transliterating text