Basically for camera zoom purposes. I just can't figure out how to update the cameraViewTransform property of my UIImagePickerController called camView. I'm trying to change this from the camView instance's cameraOverlayView. I've got a lone "global" variable "trans" that holds the transformation magnitude, and I can change it and everything, I even ended up making camView "global" so that I can access that instance from two separate classes (the ViewController and the overlayView called "Button") and I have this under my "controlPressed:" method
I'm thinking I will need to run "presentModalViewController: camView" again to display the changes like I did when I initialized camView in the ViewController, but I can't figure out how to run that "presentModalViewController: camView" again without being in viewDidAppear in my ViewController... how can display the changes to camView.cameraViewTransform?
I'm new to programming, I've only had a year of more introductory college courses, so I may have missed something really obvious...
Also, if I'm going about this completely the wrong way, please tell me, I'd like to learn from this. I've been working at this for three days now, and I decided I'd ask you guys now because I'm not getting anywhere...
Thanks!
Code:
camView.cameraViewTrasform = CGAffineTransformMakeScale(trans, trans);
I'm thinking I will need to run "presentModalViewController: camView" again to display the changes like I did when I initialized camView in the ViewController, but I can't figure out how to run that "presentModalViewController: camView" again without being in viewDidAppear in my ViewController... how can display the changes to camView.cameraViewTransform?
I'm new to programming, I've only had a year of more introductory college courses, so I may have missed something really obvious...
Also, if I'm going about this completely the wrong way, please tell me, I'd like to learn from this. I've been working at this for three days now, and I decided I'd ask you guys now because I'm not getting anywhere...
Thanks!