If you are looking for a function to Zoom in an UIImageView in a 3D tranform scale then you should use CATransform3DScale.
First of all declare a BOOL variable to check scale points. Here I am taking CGFloat _scalePoints and CATransform3D transform.
-(void)zoomin{
_scalePoints = 1;
_yourImageView.layer.transform = CATransform3DScale(_yourImageView.layer.transform, _scalePoints,_scalePoints, _scalePoints);
_scalePoints = _scalePoints+.05;
_transform = _yourImageView.layer.transform;
}
It will change your UIImageView into CATransform3DScale for x, y, z axis.
Happy coding!
0 Comment(s)