/ Published in: Objective C
how to add sub view add a specific location
Expand |
Embed | Plain Text
myViewController = [[MyViewController alloc] initWithNibName:@"MyView" bundle:nil]; myViewController.view.frame = CGRectMake(0, 100, myViewController.view.frame.size.width, myViewController.view.frame.size.height); [mainCanvas addSubview: myViewController.view];
You need to login to post a comment.
