how to add Transperent View and Gestures on FloatingMenuActionButton - swift

For adding FloatingMenu Action button in swift I used the following
Creating a floating menu in an iOS application
it is fine for showing FloatingMenuAction when we tapped on Floating Button it shows a view like as
Now I want add 1 transparent view as background on current view and also add a button actions/gestures for each menu option.
How can I do this?
Thank you in advance

Related

Custom popup view in Swift (Interface Builder)

Is there any way I can show a custom popup in the middle of the screen (over the current content) with buttons and a textfield and anything else I may need, entirely in interface builder?
If this isn't possible, then I don't mind doing it programatically.
I am guessing you create a custom view with the content but I am not sure how I show that view when a button is clicked and bring it up over the current view controller.
Thanks!
I would create a View and a Viewcontroller for it- set the alpha of the view to zero so its invisible - then but a nice picture as background for the custom popuop on it ( as background for the popup) on this i would put the buttons and the text label. VoilĂ  - costum pop-up is ready to present with a segue (choose type over the current view controller).

Showing a overlaying menu when tab bar item is clicked - IOS

Thanks for reading my question!
I have a 5-part tabbar which I use for app navigation, the center tab is covered by a UIButton and is slightly larger (much like the instagram app). This works fine.
But what I want is the far right tab bar item to show a overlaying menu when clicked. I don't want it to switch to a viewcontroller with a menu. I want the menu to be displayed no matter which of the other views you're in at the moment. So I want it to act much like a button which is in the tabbar. But I have no idea how to go about doing this.
Should I use a overlaying button over the tabbaritem or should I catch the tabbarclick, but how can I prevent the view from changing in that case?
Thanks you for any help!
You need to implement UITabBarDelegate. Then override tabBar:didSelectItem: and implement your custom displaying here. See below for reference
http://developer.apple.com/library/ios/#documentation/UIKit/Reference/UITabBarDelegate_Protocol/Reference/Reference.html
Then i would just make a custom UIView and fade it in when that specific tagged UITabBarItem is pressed.

ios retractable menu?

I'm trying to figure out how to make a retractable menu (left panel) as gmail app or facebook app...
I don't know how to move just part of the front window to show the menu (in another view) when you tap on the corresponding button.
Can you give me some clue on how to do it?
Create a custom container controller and use affine trasforms to the view controller's view.

displaying sub menus on tab bars in iphone apps

Is it possible to display a sub menu on a tab bar in iphone apps. I mean when a user clicks on a tab, instead of displaying a new view, displays a new set of buttons on the top of the tab.
Does anyone know how to implement this?
Well, you can't do it without displaying a new view but that view does not have to fill the screen. If you create a custom UIView subclass that positions itself under the button pressed, you can get the behavior you want.

Proper way of implementing UIToolbar?

I'm making a app that uses a UIToolbar. My app has 8 different views and the toolbar is the same in all of them (the same buttons/images that is). The toolbar has 3 buttons. Two of them has the same (ib)action in all the views and 1 button has a specific action for each view.
My problem is that I can't get my head around how to implement it in the right way.
I tried to create and add the toolbar and the buttons in the AppDelegate. It looks right but I can't figure out how to do with the button that has a specific action for each view.
I've also tried to create and and the buttons in each view. Then it's easy to add the specific action, but it doesn't look and feel right.
This is the (ib)actions of the views, if it helps:
Button 1: popToRootViewController
Button 2: resize the current view (it's a UIWebView in all of the 8 views)
Button 3: show a overlay-view
Thanks in advance.
When showing each view, reassign the action associated to the button to be view specific
[aToolBarBtn addTarget:self action:#selector(viewSpecificAction:)
forControlEvents:UIControlEventTouchUpInside];