skip to Main Content

Xcode – didAddSubview not being called

my didAddSubview is not being called. This is what I am doing. In my viewController - (void)viewDidLoad { [super viewDidLoad]; SomeView *view = [[SomeView alloc] initWithFrame:CGRectMake(0.0, 0.0, CGRectGetWidth(self.view.frame), CGRectGetHeight(self.view.frame))]; [self.view addSubview:view]; } Where my SomeView is a UI view (.h…

VIEW QUESTION
Back To Top
Search