Question about iOS AU design best practices...
Does Apple recommend using the standard iOS Preference Settings design pattern for Audio Units?
Example: if I'd want to implement a global setting "ignore midi velocity" for my plugin extension, can and should I use the preferences section of iOS for this?
Thanks!
It seems (upon actually trying) that using a Settings Bundle with an Audio Unit Extension doesn't work in the first place.
I guess that answers the question, unless I'm missing something.
EDIT: scratch that. It *is* possible, but the way to do it is exceedingly obscure and virtually undocumented.
- Access to the settings.bundle needs to be initialized using App Groups, with [[NSUserDefaults alloc] initWithSuiteName:] rather than [NSUserDefaults standardUserDefaults]
- Here's the part that no tutorial mentions: you MUST add the key "ApplicationGroupContainerIdentifier" to the root.plist of your settings bundle for this to work.
I hope this helps someone.