hasan
hasan

Reputation: 24205

Copy UIView in Storyboard

Coping a UIView from a UIViewController to another as following:

  1. Select the view.
  2. Copy (cmd + c).
  3. Select the view to place inside in the other UIViewController.
  4. Paste (cmd + v).

This will not put the copied view inside the selected one. It will replace it.

I want to place it inside. How to do that?

Upvotes: 0

Views: 786

Answers (2)

Arun
Arun

Reputation: 3404

Put one dummy view in the view cycle then do your change on that ....

Upvotes: 2

Amisha
Amisha

Reputation: 159

There shouldn't be any problem with what you are trying to do unless you using ctrl instead of command; copy : command + C

OR Try drag and drop the view from one ViewController to other

Upvotes: 0

Related Questions