# To place UIImage on the view without imageview

**URL:** <https://forums.kodeco.com/t/to-place-uiimage-on-the-view-without-imageview/16010>\
**Category:** iOS\
**Created:** [June 16, 2016, 5:21am UTC](https://forums.kodeco.com/t/to-place-uiimage-on-the-view-without-imageview/16010 "2016-06-16T05:21:10Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![arunraj](https://assets.chunter.kodeco.com/user_avatar/forums.kodeco.com/arunraj/32/81494_2.png) [@arunraj](https://forums.kodeco.com/u/arunraj)\
**Post date:** [June 16, 2016, 5:21am UTC](https://forums.kodeco.com/t/to-place-uiimage-on-the-view-without-imageview/16010/1 "2016-06-16T05:21:10Z")

</div>

Hi,  
I’m developing painting app in this app i’m using ACEDrawing tool to draw over the view. But , I’ve to cut particular portion of the painting and to paste at anywhere on the view.  
I can copy the paintings of the view as a image. my code is here

CGSize size = [view bounds].size;  
UIGraphicsBeginImageContext(size);  
[[view layer] renderInContext:UIGraphicsGetCurrentContext()];  
UIImage \*newImage = UIGraphicsGetImageFromCurrentImageContext();  
UIGraphicsEndImageContext();

but ,I can paste it only as a image using UIImageView. I don’t know how to paste it as a painting over view then only I can erase or redraw.

Thanks in advance.  
with regards,  
D.Arunraj
