I need a little clarification working with UIDocument
and I have 3 related questions
-1. In the call:
-(id)contentsForType:(NSString *)typeName error:(NSError **)outError
from where does the UIDocument
pickup the typeName
. Is it from "Document types" in the info.plist of the app if the value is set for that property.
-2. Can one have more than 1 document type for an iOS app, and then if so, how can one determine which type is used when saving and reading documents.
-3. Does UIDocument
work in the simulator?