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:
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
Post a Comment