In the Slack app for iOS, if you swipe right you get a "drawer" bit of UI containing a page view controller. But if you swipe left, instead of the main view sliding most of the way off screen, you have another view slide out over the top of the main view.
What is the name of this slide-over UI component? Is it a standard native component, or a custom 3rd party component?
Check out this component. Basically a menu slider with different views
Related
This is the way i need to create (gif).
The Above gif shows a view which pops up from bottom while clicking on the moto g3 button overlaying the parent view with some gestures to control it.
I would like to know the name of this view if available in the iOS components or any specific ways to create it.
I'm interested if it is possible and if possible how to embed some kind of a page view control into a small view on a screen and react on taps on it.
Use a container view. Container views allow for page views and scroll views alike to be nested like a normal UIView which you can place within other views. As far as tapping to switch pages, use a touchesBegan function to call the next page.
I want to design the drawer menu using custom collection view like android drawer with gridview.Is there any way to design the drawer like android
(Note:- Ask question in android refer below link
(is it possible to have android navigation drawer with grid view i.e. grid view inside navigation drawer?) Same like this can we do in ios.)
For this you have create one viewcontroller which contain uicollectionview. this is work as side bar controller, Now add another controller as childviewcontroller with changing frame with animations.
I need to create below thing
Currently i'm using WYPopover , but I can't create the button since it's outside of the popover. Is there any existing solution out there ? Many thanks
Create a bigger popover UIView holding all your child elements (current popover + button) and make its background transparent or however you wish.
Popover-controller's are exclusively used in iPad. If you want to use in iPhone, you should create it in a custom way.
I am not familiar with the XYPopover in Github, but normally the custom created popover should be dismissed whenever the user taps any place in the screen. That is one of the key feature of the popovers.
Normally the custom popovers are build like, adding a hidden parent view and then the visible image of a popover frame on it.
You should to do the following,
Avoid dismissing the parent view on tap of parent-hidden-view.
Add a close button at the area where you want to show the close button, on top of the parent-hidden-view.
Capture the button click and dismiss the view (remove the view from superview)
How to customize your need
Creating custom popover view is not a big task. It will take maxim one day, try it your self.
One Parent view with clear color
One background image of a popover frame.
View-inside popover (this needs to be customized for UIPopover also).
Close button.
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.