I have an slider menu in my iOS project which opens by default from left to right. I wanted to ask how can I make it open from right to left. There are many android topics on this but I didn't find any iOS tips for doing this.
Thanks very much
If you are using AMSlideMenu (https://github.com/SocialObjects-Software/AMSlideMenu), you need to drag a segue between the main view and your right menu view, and you choose slide menu right menu, then implement the method segueIdentifierForIndexPathInRightMenu. The segue takes care that the menu will open, and the rightmenu option assures the menu will open from right to left. Next video explains it all :
https://www.youtube.com/watch?v=y33t_bWS_Zk
Related
I have set up an SWRevealController menu that slides out from the right side of my app. I have a button on the right hand side of my navigation bars that reveals the menu. I am trying to disable user interaction on the front view when the menu is open. I have tried following this but i am struggling. The class name that controls the menu is menuTableViewController.swift. Can someone explain how i do this in swift?
I am trying to implement Navigation Drawer like menu on my iPhone project.
I have looked at the forums and find out there are many samples given in this link:
Stackoverflow Navigation drawer query
But, they have not helped me much. Because, all the apps are developed Navigation drawer in the Home screen(1st view) of the app itself and using window.rootViewController
My requirement is, I need Navigation Drawer like menu NOT in the home screen(1st view) of the app, rather need on the 2nd view of the app, hence I don't know how to add this feature.
Could someone please suggest me how to add navigation drawer like menu feature in later views(for ex: 2nd view) of the app?
I don't quite get how you want the menu. You can add Navigation Controller anywhere you want, all it's going to do is give you a Navigation Bar on which you can give a title and a Back button, usually with the name of the title of the previous page.
You can simply add the navigation where you want and control drag from the view or object you want to perform the segue. If it's a button you can use an IBAction with a performSegueWithIdentifier method.
Hope I could help
I am using ECSlidingViewController in my project and I also have a messages view, in which I have an accessoryInputView to imitate the iOS Messages app. Now when I open my menu on this view, the accessoryInputView slides down and is nowhere to be found. I can no longer find it under the UITextEffectsWindow in the debugger's UI Hierarchy view.
Where did it go? Do I need to call it back? If so, how?
Disabling the menu gesture on the detailpage (of a navigation controller that was on my menu in my case) fixed the problem.
I would like to add to my current application a menu which "slides" over the current UIView. I want to use a UITableView for the menu. It should look like the old Facebook-App. If you tap the menu Button on the top left, the menu should slide from left into the screen. But not like the Facebook app, the menu should not "push" the other view away, it should slide over the whole UIView. It would be great if someone could help me how to do this.
No need to code that your self. Look for a library that can help you accomplish this. For example:
https://github.com/ECSlidingViewController/ECSlidingViewController
I am working on ToDoList app in IPAD.
I am getting problem to control+drag the button(Done, Cancel) to point to the "Exit" button in the bottom due to scroll issues.when i zoom-in in the story board for "Add To-Do Item" screen.I cannot see the below green button to connect due to scroll issues.
Will there be any other way i can point the "Done" or "Cancel" button clicks to unwindList segue.
Please provide me with any way to solve this issue.
Open the storyboard, click on the little icon in the lower left corner called "Show Document Outline" . You will see a list of elements with their names there. Control-Drag from the desired button name to Exit.
Also, right-click any view (including a button) will pop a small window with a full list (outlets and all). That window can be moved and dragged, so you can place it next to the green 'Exit' and drag from there. This comes handy when you need to control-click-drag from/to views that are far or tricky (without dropping it in the wrong place).
I think 'Touch up inside' is the click gesture.