I'm trying to restore the Snippets feature on my iPad. (9.7 inch iPad Pro / iOS 13.5)
I was able to get to the point of showing the Snippets Popover, but unfortunately, this doesn't work when I tap on it.
It's not good enough for memory management either.
#coding: utf-8 from objc_util import * @on_main_thread def showSnippets(): SnippetAbbreviationEditorViewController = ObjCClass("SnippetAbbreviationEditorViewController") EditorCommand = ObjCClass("EditorCommand") saevc = SnippetAbbreviationEditorViewController.alloc().initWithCommand_(EditorCommand.alloc().init()) UIApplication.sharedApplication().delegate().editorViewController().showPopupWithViewController_(saevc) showSnippets()