How do I create a view that stays onscreen while I switch between tabs?
I have a tab bar controller 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 view controller 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?
Solutions Collect From Internet About “How do I create a view that stays onscreen while I switch between tabs?”
Crete a shared view controller. And add the view on window whenever its necessary, and bring that view to front.
- How to get the touch coordinates from a valueChanged event in Swift
- Integrate Swift framework to objective-c application
- Swift – ADBannerView
- Access most recently used emojis list in iOS
- How to format a Double into Currency – Swift 3
- How can I get the actual date and time if the device date and time are inaccurate?
- iOS Keychain writing value results in error code -34018
- UIView transitionWithView doesn't work
- Swift Explicit vs. Inferred Typing : Performance
- iOS app with framework crashed on device, dyld: Library not loaded, Xcode 6 Beta
- How should I handle parameter validation Swift
- UICollectionView recieved layout attributes for a cell with an index path that does not exist
- geting error with Dictionary
- UIRefreshControl Stuck After Switching Tabs in UITabBarController
- Sprite Kit set Min. and Max. for Jump