Post

Replies

Boosts

Views

Activity

Reply to Set Appearance stream for PDF Annotation
With iOS 13.2 hasAppearanceStream is true for my annotation, but when I try to get the values for appearanceDictionary and appearanceState both return nil. Neither of these appear in annotationKeyValues either.I want to copy the appearance stream from one annotation to another, but don't know how to retrieve it.
Jan ’20
Reply to macOS : Accessing UserDefaults when App Group is enabled
Was there a way to edit the group container using Defaults? I tried using the filepath option, but it always failed saying the domain doesn't exist. It seems to be treating it as a domain instead of a filepath. Also the man page for Defaults on 10.15.7 has the below text, so it seems like support for the paths to a plist will be removed. "WARNING: The defaults command will be changed in an upcoming major release to only operate on preferences domains. General plist manipulation utilities will be folded into a different command-line program." The only working way I have found to edit the UserDefaults for a group container is to manually edit the plist, then restart cfprefsd, as it doesn't pick up changes to the plist.
Jul ’21