Hello,
I have one scrollview which contains view which includes the imageview and label.
I want to Pinch in and out that view with the imageview and label.
I am doing it properly. But I also want to to capture the contents of view and send it through mail with the expanded size
ContainerView - name of the view
I also replace this ContainerView with the ScrollView.Contentsize
Still not getting any success.
Any suggestion or code is appreciated
Please help me.
Thanks
I have one scrollview which contains view which includes the imageview and label.
I want to Pinch in and out that view with the imageview and label.
I am doing it properly. But I also want to to capture the contents of view and send it through mail with the expanded size
Code:
UIGraphicsBeginImageContext(ContainerView.bounds.size);
[self.view.layer renderInContext:UIGraphicsGetCurrentContext()];
UIImage *viewImage = UIGraphicsGetImageFromCurrentImageContext();
UIGraphicsEndImageContext();
ContainerView - name of the view
I also replace this ContainerView with the ScrollView.Contentsize
Still not getting any success.
Any suggestion or code is appreciated
Please help me.
Thanks