I want add one UIButton.
so, I was wrote.
UIButton* pButton = [UIButton buttonWithType:UIButtonTypeRoundedRect];
[pButton setFrame:CGRectMake(0, 0, 100, 100)];
[[EAGLView sharedEGLView] addSubview:pButton]; or [self.viewController.view addSubview:pButton];
In ios 6, Do addView(UIButton) well.
In ios 7, I Couldn’t addView .
Please Tell me reason.
help me~ please.