While studying UIApplication, I find a way to add a view on top of all UIViewController.
UIView *testView = [[UIView alloc] initWithFrame:CGRectMake(40,40,250,250)];
[testView setBackgroundColor:[UIColor redColor]];
[[[UIApplication sharedApplication] keyWindow] addSubview:testView];
It is displaying correctly.
I am wondering if I created a menu with some buttons instead of testView. Where can i handle those events in AppDelegate or Current ViewController
If it is possible
then tell me how to change text of any ViewController
on clicking menu button.
I mean how to get the context of another ViewController and set its View Property from that button.