I have changed one of the cells bound to my coredata entity from TextFieldCell to ImagePicker with the fiollowing prperty def:
SCPropertyDefinition *coverImagePropertyDef = [projectDef propertyDefinitionWithName:@"CoverImagePath"];
coverImagePropertyDef.title = @"Cover Image File";
coverImagePropertyDef.type = SCPropertyTypeImagePicker;
After building without warnings, I load and run in the simulator and when the cell in question is clicked I get these messages:
2010-10-16 09:18:54.363 PubWriter[6987:207] Using two-stage rotation animation. To use the smoother single-stage animation, this application
must remove two-stage method implementations.
2010-10-16 09:18:54.364 PubWriter[6987:207] Using two-stage rotation animation is not supported when
rotating more than one view controller or view controllers not the window delegate
2010-10-16 09:18:54.414 PubWriter[6987:207] sqlite error 14 [unable to open database file]
2010-10-16 09:18:54.415 PubWriter[6987:207] sqlite error 21 [unable to open database file]
and then this exception is thrown:
2010-10-16 09:18:54.422 PubWriter[6987:207] *** Terminating app due to
uncaught exception 'NSInvalidArgumentException', reason: 'On iPad, UIImagePickerController must be presented via UIPopoverController'
2010-10-16 09:18:54.423 PubWriter[6987:207] Stack: (
44505168,
45663020,
5314194,
192794834,
3516113,
3515571,
3509742,
3509513,
3476194,
5740606,
5739170,
3968929,
5303434,
73496854,
73496101,
73439698,
73439026,
73639654,
43993682,
43782981,
43780264,
53491869,
53492066,
3355506,
10594,
10466
)
terminate called after throwing an instance of 'NSException'
I am using the iOS 4.0 SDK and building to iPad 3.2, using STV 1.6