Closed danvaplay closed 8 years ago
I created a childview in rootview of WDCanvasController. and I tried to move canvas's target from rootview to childview. then, canvas shows in rootview, but not in childview.
from following code.
(void)loadView { canvas = [[WDCanvas alloc] initWithFrame:[[UIScreen mainScreen] bounds]]; canvas.controller = self; self.view = canvas_;
self.edgesForExtendedLayout = UIRectEdgeNone; }
to this.
(void)loadView { canvas = [[WDCanvas alloc] initWithFrame:[self.canvasview bounds]]; canvas.controller = self; self.canvasview = canvas_;
Can I move canvas from rootview to childview? Let me know how to move it?
Regards. Dan.
I created a childview in rootview of WDCanvasController. and I tried to move canvas's target from rootview to childview. then, canvas shows in rootview, but not in childview.
from following code.
(void)loadView { canvas = [[WDCanvas alloc] initWithFrame:[[UIScreen mainScreen] bounds]]; canvas.controller = self; self.view = canvas_;
self.edgesForExtendedLayout = UIRectEdgeNone; }
to this.
(void)loadView { canvas = [[WDCanvas alloc] initWithFrame:[self.canvasview bounds]]; canvas.controller = self; self.canvasview = canvas_;
self.edgesForExtendedLayout = UIRectEdgeNone; }
Can I move canvas from rootview to childview? Let me know how to move it?
Regards. Dan.