Saturday, December 21, 2013

I used to image the image imagePicker choose the path of how to get it

I used to image the image imagePicker choose the path of how to get it, I want it saved to sqlite path to go, and can also be removed from the database, how it should be written.
 
- (void) imagePickerController: (UIImagePickerController *) picker
didFinishPickingImage: (UIImage *) image
editingInfo: (NSDictionary *) editingInfo {
imageView = [[UIImageView alloc] initWithFrame: CGRectMake (30, 20, 230, 250)];
imageView.image = image;
[Picker dismissModalViewControllerAnimated: YES];
[Self.view addSubview: imageView];

}
Reply:
- (Void) imagePickerController: (UIImagePickerController *) picker
didFinishPickingMediaWithInfo: (NSDictionary *) info

NSURL * imageURL = [info valueForKey: UIImagePickerControllerReferenceURL];
Reply:
That sqlite in memory to how to write.
Reply:
reference to the second floor chengmeifang reply:
that sqlite in memory to how to write.


Hello, you want to use SQL statements.
Such as, insert into table values ​​(....)
Reply:
reference to the third floor cxsjabcabc reply:
Hello, you want to use SQL statements.
Such as, insert into table values ​​(....)


I can put the address directly into the database what, what format to use to insert an address character Yeah.
And take the time to read it should be how to show a picture again?
Reply:
references, 4th Floor chengmeifang reply:
reference to the third floor cxsjabcabc reply:



Hello, you want to use SQL statements.
Such as, insert into table values ​​(....)


I can put the address directly into the database what, what format to use to insert an address character Yeah.
And take the time to read it should be how to show a picture again?


This is very simple ah, iphone interface provides sqlite, probably there. H header file, you first create a further operation, OK.

No comments:

Post a Comment