I am trying to load in a view (with a Date Picker) on top of a Tab Bar that's loaded in as a subview in my apps delegate files.
I do it like this:
[[[UIApplication sharedApplication] keyWindow] addSubview:viewWithPicker];
It works, but it leaves a small gap at the bottom, just big enough to show the tab bar.
How can you remove the subview again after adding it?
Does anyone know how to fix it? Thanks :)