How can I access the iOS setting “Store Documents & Data On:”?

Anyone know how to access the value of this built-in setting in iOS system preferences using objective-c? I am sure that it is there because my app has iCloud storage enabled, but I have no idea how to read it to determine whether to index the local Documents dir or the iCloud container.


Thanks!


Post not yet marked as solved Up vote post of patrickkidd Down vote post of patrickkidd
469 views