Alex Rivera | Logout

iOS iPhone is it possible to clone UIView and have it draw itself to two UIViews?

Asked 2012-04-28T17:12:56.673
14

I'm thinking of a way to have a UIView render itself onto another UIView as well as the first one. So I have my main UIView with it's bounds, and the UIView also renders itself in some other UIView.

Is this possible ? Does it require extensive layer operations?

Edit
Report

1 Answer

0

Create another instance of the UIView you wish to "clone" and add it as a subview to another view. You don't really clone a UIView object, you simply create another instance of it.

answered 2012-04-28T17:25:49.643

Your Answer