this code taking screenshot:
uigraphicsbeginimagecontext(view.frame.size) view.layer.renderincontext(uigraphicsgetcurrentcontext()) let imageref = uigraphicsgetimagefromcurrentimagecontext() uigraphicsendimagecontext()
when open camera preview , take screenshot, white view no camera shot. there way include on camera? if doesn't make sense alternative? thank you
Comments
Post a Comment