add uiview to cgd