问题标签 [ecslidingviewcontroller-2]
For questions regarding programming in ECMAScript (JavaScript/JS) and its various dialects/implementations (excluding ActionScript). Note JavaScript is NOT the same as Java! Please include all relevant tags on your question; e.g., [node.js], [jquery], [json], [reactjs], [angular], [ember.js], [vue.js], [typescript], [svelte], etc.
ios - Slide Menu in IPhone App using ECSlidingViewController
I am trying to use ECSlidingViewController in my Iphone app (Using Storyboard).
I have 5 ViewControllers.
Login
MainSelection
FirstView
SecondView
MenuView
In the above controllers i have "Menu" Button on FirstView & SecondView on click of "Menu" button i want to slide the MenuView data and again on clicking on the button close the slide menu.
I went through samples from github ECSlidingViewController.I am referring the same code as shown in github examples.I am trying to integrate in my exisitng app.
Question: I tried to create InitialSlidingViewController subclass of ECSlidingViewController.But i cannot set this as InitalViewController in storyboard.Because my existing initialviewcontroller is "Login" view controller. Is there a way i can initialize SlidingViewController in "Main" view controller and by using slidingViewController.leftViewController open the slide menu when the menu button is tapped.
Here my main issue is i cannot set the InitialSlidingViewController subclass of ECSlidingViewController as InitialViewController.So what are the possible options to enable sliding for "Menu" button click on MainView.
Note: If i set the InitialSlidingViewController as InitialViewController in storyboard and providing respective topviewStoryboardID and leftViewStoryBoardID as runtime attributes it is working as expected.But this is not the way i am trying to integrate in my app.
Thanks in advance
ios - 在 TopViewController 之上显示 ECSlidingViewController
我的项目运行顺利,但我不希望我的项目锚定在右上角。有没有办法让ECSlidingViewController
节目在其之上topViewController
。
谢谢