ios - Make image the same as camera view -
i using uiimagepickercontroller
taking photo. full size photo using method
var cameraaspectratio : cgfloat = 4.0 / 3.0; var imagewidth = floorf(float(screensize.width * cameraaspectratio)); var data = float(screensize.height)/imagewidth var scale = cgfloat(ceilf((data * 10.0) / 10.0)) cameraviewtransform = cgaffinetransformmakescale(scale, scale)
but after capturing image, view saw in camera layer different photo(photo takes more view in, bigger)
i want make photo, , output photo same scale , view, using whole fullscreen overlay. can advice some?
i took link in 1 of project: uiimagepickercontroller doesn't fill screen
hope helps.
Comments
Post a Comment