Disappearing accessoryInputView on menu open - ios

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.

Related

How to add navigation drawer feature in later views(for ex: 2nd view) of the app?

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

How to get facebook like sliding menu without using third party files in ios?

I'm struck to implement it. I want to display a menu, which is already pushed into navigation controller. I know i have to use transition with animation method in which i have to increase the width from 0 to required value. But this is not helpful coz navigation controller takes care of presenting VC when we pop it. So how to implement it in ios?
Use a separate UIWindow for the menu, so you do not interfere with the UINavigationController.
You can have the menu behind your content window and move the content window to make the menu visible.

using UIReferenceLibraryViewController in custom popover controller

I am using custom popover controller(WYPopoverController) for iPhone and showing UIReferenceLibraryViewController in it. The view does come perfectly but UIReferenceLibraryViewController has 'Done' button on its navigation bar and when I click on it, it does not respond. Though if I click outside the popover then popover disappears. I simply want to disappear popover when 'Done' button is pressed.
Please note, if I use UIPopoverController for iPad, then 'Done' button in UIReferenceLibraryViewController does respond. Not sure what am I missing in custom implementation.
Any help is much appreciated.
The problem to me seems like part of a terrible design by Apple, where the reference library controller dismisses itself rather than providing a delegate method notifying you to dismiss it. First, open a bug report with Apple and post the bug report number so people can duplicate it.
In absence of better options, I would suggest replacing the controller's navigation item's bar button item with your own, where that button would notify you of the user's tap and you'd dismiss the controller properly. This is a partial solution, as the reference library controller is a complex case, where it maintains a navigation stack internally. You may have to dig in the view controller parent/child hierarchy to find all cases.
Consider changing your design in the meantime, presenting the view modally instead of a popover on phone/pod devices.

iOS Slide out menu, need it to be accessible on every View Controller

As title suggests, how would you go about doing that?
Basically, I need a slide out menu to be accessible from every screen.
Currently, I have a navigation stack, that you have to dismissViewController each view controller (back button) on the stack, in which then you can launch the menu. I need the menu to be launched from any screen.
Thanks
Have a look at this project
It should solve your problem.
I applied it in the root view and I can slide from anywhere.

UI keyboard not appearing when UI textfield tapped after model to a different view controller

Ok. So I have been testing out a simple application on xcode to become familiar with the platform, but I've come across an interesting situation. Using storyboard, I've dragged two view controllers that are connected by buttons by segues. They both have a uitextfield dragged on them that respond on click when they are the initial view. However, when I move to another viewcontroller from the buttoned segue, the keyboards no longer automatically popup. Is this a problem with apple's uitextfield? (ps. there is no code to this as I thought this would simply be automatic responding)
Look to see if the view hierarchy has become messed up. You can easily see this in the 'document outline.'
If you don't see this pane, look on the left, bottom side of the storyboard and click the small arrow pointing to the left.
What do you see here? Is the Text Field an immediate child of the View or of something else? If it's an immediate child, do you see other children of View listed here that you don't recognize?

Resources