top of page
  • kropurliballeudu

Hannstar J Mv 6 94v 0.pdf







1F0B3F25B000C0040-S1.pdf 0592B21A80C00.pdf Hannstar.jpg System.pdf 0hannstar-j-mv-1.pdf 0.pdf Hannstar J Mv 6 94v 0 Da0lx8mb6d0 rev D schematic G74SX. rev.2 PN: 60-N56mb2900-a08 Q: How to show a pickerview when a button is clicked? I have a picker view and i have to display it when a button is clicked. How can i achieve this? Thanks! A: On button click show Picker View using code NIB Name For Picker View UIImagePickerController *imagePicker = [[UIImagePickerController alloc]init]; [imagePicker setSourceType:UIImagePickerControllerSourceTypeCamera]; [self presentViewController:imagePicker animated:YES completion:NULL]; On ViewDidLoad Show Picker View imagePicker = [[UIImagePickerController alloc]init]; [imagePicker setSourceType:UIImagePickerControllerSourceTypeCamera]; [self presentViewController:imagePicker animated:YES completion:NULL]; In Touch up Event - (void)touchesBegan:(NSSet *)touches withEvent:(UIEvent *)event { [self dismissViewControllerAnimated:YES completion:NULL]; } To remove the images when button clicked - (void)touchesEnded:(NSSet *)touches withEvent:(UIEvent *)event { // do some action } Use following Method for camera function - (void)imagePickerController:(UIImagePickerController *)picker didFinishPickingMediaWithInfo:(NSDictionary *)info{ CGSize originalSize = CGSizeMake(480, 320); UIGraphicsBeginImageContext(originalSize); [imageView.layer renderInContext:UIGraphicsGetCurrentContext()]; UIImage *image = UIGraphicsGetImageFromCurrentImageContext(); UIGraphicsEndImageContext(); imageView.image = image; [self dismissViewControllerAnimated ac619d1d87


Related links:

93 views0 comments

Recent Posts

See All
bottom of page