I currently have a project which includes a table of items, clicking on a row for a particular item will bring you to a detail view which includes description text for the item. I'm currently pulling the items from a plist (dictionary array).
I'd like to also add an image into the detailed view but am not sure how to go about it. This is how I am currently calling the items in my detailed view.
I know images cannot be stored in the plist itself, but can I put in a pointer to the image file, which would be in the supporting files? I can set up UIImageView and link it up, but I'm not sure how to implement it.
I'd like to also add an image into the detailed view but am not sure how to go about it. This is how I am currently calling the items in my detailed view.
Code:
-(void) viewWillAppear: (BOOL)animated {
[super viewWillAppear:animated];
//set up UI with muscle names
self.textField.text=[self.muscleNames objectForKey: NAME_KEY];
self.textView.text=[self.muscleNames objectForKey: DESCRIPTION_KEY];
}
I know images cannot be stored in the plist itself, but can I put in a pointer to the image file, which would be in the supporting files? I can set up UIImageView and link it up, but I'm not sure how to implement it.
Last edited by a moderator: