I have a requirement where i need to add a slide menu inside a tabbed content is it possible to add a slide menu inside a UITabBarController and parent of this UITabBarController is a UINavigationController ?
how to add slide menu inside tabbar controller in ios?
3.4k views Asked by Äñäñd Ayan At
2
There are 2 answers
0
Midhun MP
On
Yes, you can do that.
I have done a similar thing for UINavigationController. And it is working for me.
I have created it as a re-usable component and added to GitHub, you can find it here: https://github.com/Midhun-MP/MMP_DrawerController
You can find a lot of controls here, better than my control ;)
Related Questions in IOS
- URLSession requesting JSON array from server not working
- Incorrect display of LinearGradientBrush in IOS
- Module not found when building flutter app for IOS
- How to share metadata of an audio url file to a WhatsApp conversation with friends
- Occasional crash at NSURLSessionDataTask dataTaskWithRequest:completionHandler:
- Expo Deep linking on iOS is not working (because of Google sign-in?)
- On iOS, the keyboard does not offer a 6-character SMS code
- Hi, there is an error happened when I build my flutter app, after I'm installing firebase packages occurs that error
- The copy/paste functionalities don't work only on iOS in the Flutter app
- Hide LiveActivityIntent Button from Shortcuts App
- While Running Github Actions Pipeline: No Signing Certificate "iOS Development" found: No "iOS Development" signing certificate matching team ID
- Actionable notification api call not working in background
- Accessibility : Full keyboard access with scroll view in swiftui
- There is a problem with the request entity - You are not allowed to create 'iOS' profile with App ID 'XXXX'
- I am getting "binding has not yet been initialized" error when trying to connect firebase with flutter
Related Questions in XCODE5
- Xcode iOS build fail in Azure Devops Pipeline : Xcodebuild error code : 65
- Is there a way to reduce xcode build time using az pipeline caching?
- Why am i getting FirebaseStorage.StorageError error 8?
- Trying to initialize a CocoaPod for an Xcode project ends up with a Bad CPU type in executable
- Unity-iPhone" requires a provisioning profile
- Binary operator '==' cannot be applied to operands of type 'UILabel?' and 'String'
- How to solve completionHandler was not called error in xcode
- Some Xcode build settings are missing
- Can't run old version of Xcode on macOS Sierra
- Apple Mach-O Linker (ld) Error. ld: -r and -dead-strip cannot be used together
- How to set the internet connection in Xcode5?
- xcode5 'Expected Expression' error
- Xcode error? Use of undeclared identifier
- Using Xcode to debug cpp program
- Pushing data in existing Multidimensional NSMutableDictionary Objective c
Related Questions in MENUITEM
- CSS - Change Margin of a Menu's Items..?
- How to add a border color when Router Link is activated form the menu of menuitem in react with typescript and MUI (5.15.14)
- Windows 11 - How to modify the title of a group of items in the Windows Explorer context menu?
- Menuitem item style
- Menu item of NavigationView doesn't get checked if it was the last item checked
- MenuItem SubMenu appearing on left hand side of ContextMenu instead of default
- MudBlazor Nested Menu Hover on nested child opens and closes that child dialog rapidly and isn't clickable
- Detecting menu item text (and ID)
- How to get select multiple menu items in MUI menu and return the selected value
- Can you tie a SwiftUI Mac app's menu item to the front window like you can in AppKit
- How to show a modal from inside a MUI Menuitem
- Android - Navigation stack issue with bottom navigation bar
- Remove extra menu when search view is click
- Flutter: Drawer items reopen after being in an open window already
- How To Add Woocommerce Product Categories To Menu Dynamically?
Related Questions in NAVIGATIONBAR
- Re-using same code for navigationbar items in SwiftUI
- Backgroundcolor NavigationBar and Scaffold differ
- Issue displaying top navigation buttons and link in one column on smaller screens
- SwiftUI: Why do I get duplicates in my TabView?
- NavigationBar indicatorColor blips when changing the NavigationDestination
- Rendering a background image matching window frame, and under navigationTitle, in visionOS
- Any way to Disable or Prevent Status bar and Navigation bar from popping up Permanently when sliding in within app?
- rtl support for expo-router bottom tabs
- Css navigation bar, Where am I getting it wrong?
- What is the default color used for NavigationBar in flutter
- Activity Indicator in SwiftUI cannot cover navigation bar
- Swiftui page switch stuck when navigationbar changed in IOS17.2
- NavigationBar not hide in Immersive Mode when show a DialogFragment with Navigation Component-Android Kotlin
- Sticky navigation bar extending to the right side past margin
- Flutter Navigation bottom bar not visible in all screens
Related Questions in UITABCONTROLLER
- How to change an existing UIViewController (which is controlled by a UITabController) so it will appear as a pop up?
- How create an arrow-tab-like design in flutter
- Swift Key window subview disappearing
- Flutter Layout error: Using webview in tabbed content
- Difference between Tab Controller and Default Tab Controller
- Flutter TabBarView Children Unable to Render Due to Unbounded Height
- How can I detect programmatically (e.g.IBAction) when the tab selection changes views?
- Controlling a nested UITabController
- How do you really hide and show a tab bar when tapping on part of your view? (no buttons but any location of the screen)
- How to use custom NavigationBar in ios TabBarController
- UITabBarController in xamarin.ios without using StoryBoard
- Tab Bar Controller showing on storyboard but not at execution time
- Pushing viewController which is not in tab controller without hiding the tab bar
- Swift Change look of Uitabcontroller?
- Can someone tell me what is the name of this controller?
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Without knowing more about your project it will be hard to provide a more in-depth explanation, but this should work:
Basically, I would recommend finding any one of the many open source "Swipe to Reveal" menus that are out there on places like Github. With a quick google search I found an example that might be useful to you.
Really all you should need to do is set the whatever "Swipe to Reveal" class you use as the root to the selected tab that you are in (If the initial viewController of the selected tab is a NavigationController then you probably want your slide menu to be the rootViewController of the NavigationController), and then you should be able to configure the menu to work within the selected tab just fine.
Please let me know if you need any additional help, and I can update my answer. Hope that helps!