Comments (5)
I have the same situation. I used tab bar navigation and want to use this lib. But it seems it doesn't work well.
from slidemenucontrollerswift.
May i suggest you something.If u want to use tab bar navigation,Dont use this library.You can change multiple views using tab bar view without using this library.But,if u want to use this library,dont use tab bar navigation.
func application(application: UIApplication, didFinishLaunchingWithOptions launchOptions: [NSObject: AnyObject]?) -> Bool {
//instantiate storyboard
var storyboard = UIStoryboard(name: "Main", bundle: nil)
let mainViewController = storyboard.instantiateViewControllerWithIdentifier("MainViewController") as? MainViewController
let leftViewController = storyboard.instantiateViewControllerWithIdentifier("LeftMenuViewController") as? LeftMenuViewController
//Assigning main view as root view for appear when the application start to UINavigationController
let nvc: UINavigationController = UINavigationController(rootViewController: mainViewController!)
leftViewController?.mainViewController=nvc
//If u want to use slide menu,please declare this in AppDelegate.
let slideMenuController = SlideMenuController(mainViewController: nvc, leftMenuViewController: leftViewController!)
self.window?.backgroundColor = UIColor(red: 236.0, green: 238.0, blue: 241.0, alpha: 1.0)
self.window?.rootViewController = slideMenuController
self.window?.makeKeyAndVisible()
return true
}
So you storyboard must have 2 View Controllers for now.MainViewController and LeftMenuViewController.Please don't Navigation Controller embedded in your LeftMenuViewController.
If is there any problem.Tell me. :)
from slidemenucontrollerswift.
Or Try to debug view hierarchy
from slidemenucontrollerswift.
Nothing :/
@htarwara6245 How can I do this?
from slidemenucontrollerswift.
You can try learn these
http://code.tutsplus.com/tutorials/view-debugging-in-xcode-6--cms-22530
http://www.raywenderlich.com/98356/view-debugging-in-xcode-6
Hope this help.And don't forget my suggestion,too.Just try not to use this library if u r going to use tab view controller.Try to learn the design like ebay,wish.
from slidemenucontrollerswift.
Related Issues (20)
- I want to customise LeftMenuViewcontoller width. HOT 1
- there is a error while open left and right menu and remain some parts of main screen
- Could not build Objective-C module 'SlideMenuControllerSwift' HOT 3
- Shows a black screen and not able to access the functionalities
- Want to close menu when i tap on outside of UITableView in SlideMenuControllerSwift HOT 1
- SlideMenu blocks prefersHomeIndicatorAutoHidden
- iOS 13, pan gesture freezes app HOT 1
- Can we handle starching the Slide Menu
- Project Abandoned?
- Please update SlideMenuControllerSwift to latest version of Swift 5.1 HOT 2
- Status bar issue in iOS13 HOT 5
- In Swift 4.2 shows warning 'fabs' is deprecated: renamed to 'abs'
- I can't change side menu name in if else statement
- how to side status bar in xcode 11.4.1 while left menu appearing
- iOS - No such module SlideMenuControllerSwift HOT 2
- Scroll tableview inside SlideMenuControllerSwift
- Not load the leftViewcontroller page after return Appdelegate
- xcode 12 compatibility
- Provide An API for detecting whether the slideMenu is opened or closed. HOT 1
- Can I use the QR code directly?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from slidemenucontrollerswift.