How can I make a UIView to appear on all my app Screens as long as it is visible iOS objective-c -


i building music application want view show on screens in objective-c ios app, above tab bars (all screens of tab items) when app playing song or song paused. similar iphone/ipad music app shown in image below: ipad music app

you can add view directly uitabbarcontroller's view.

[self.tabbarcontroller.view addsubview:musicplayerview];

this way visible in tabs.

just addition, better approach subclass uitabbarcontroller , initialize / add musicplayerview in custom class.


Comments

Popular posts from this blog

Hatching array of circles in AutoCAD using c# -

ios - UITEXTFIELD InputView Uipicker not working in swift -

Python Pig Latin Translator -