I have UIView, I want to add it a view on that view but so it be half of the size of the original View.
I tried :
[appDelegate.viewController presentModalViewController:testViewController animated:NO];
but itws on all the screen.
tried:
self.window.frame= CGRectMake(50, 50, 30, 30);
self.frame= CGRectMake(50, 50, 30, 30)
I saw there is methods like presentPopupViewController
but they work on UIViewcontroller.
any ideas to start it on half of the screen?