Put setcamera() in viewcontroller.