The code below generates a button and places it on the screen;
button = [UIButton allow] initWithFrame:CGRectMake(0.0, 0.0, 20.0, 20.0)]; button.frame = CGRectMake(0.0, 20.0, 10.0, 40.0); button.backgroundColor = [UIColor redColor]; [self.window addSubview:button];
However, when I generate a new screen via "pushViewController:animated" to overlap the current screen, the buttons float about the new screen. But everything else attached to the old screen via Interface builder disappears the correct way behind the new screen.
So, what am I doing wrong?
Thanks,