Pregunta

I have a UITabBarController with 5 different items, each representing different views. These views represent a dialpad, contacts, call history, etc. Selecting a different tab switches to a different UIViewController and displays a different view, as is standard.

However, I'd like to display a persistent view that does not switch when different selections are made on the tab bar. How can I display such a view that remains onscreen at all times? I am using View based application

¿Fue útil?

Solución

if any view which need to be remain visible throughout the app, should be added to UIWindow

And Then to show view in particular screen use

yourView.alpha =1.0;
    [window bringSubviewToFront:yourView];

Hide View

YourView.alpha = 0.0;
Licenciado bajo: CC-BY-SA con atribución
No afiliado a StackOverflow
scroll top