Questions tagged [uimenu]

50 questions
1
vote
1 answer

Can I make a UIMenu in Xamarin.iOS?

I develop in Xamarin.iOS. I would like to create a Pull-Down Menu, which I saw in the Apple Human Interface Guidelines. But I can not see it the official Microsoft documentation. Is implemented in Xamarin.iOS? If yes, how can I use it?
kistelekig
  • 165
  • 1
  • 6
1
vote
1 answer

Failed to find a presenting view controller UIContextMenuConfiguration

I have a parent that presents a child view controller. view.addSubview(commentController.view) addChild(commentController) commentController.didMove(toParent: self) Really basic stuff and everything works…
1
vote
2 answers

How to customize the "about App" menuitem

I've successfully ported my Chord calculus app to Mac Catalyst, with working key commands, context menus and multiple scenes. Can even screen capture the fretboard to the clipboard for developing tutorial content. Still working on saving it to a…
polymerchm
  • 188
  • 1
  • 7
1
vote
3 answers

Does iOS 13 - UIMenu have a bug that doesn't show its image?

Paste the following code into a project: No image shows next to 'Device Honey' ie the UIMenu However the image shows up next to 'Copy' ie the UIACtion. Am I doing something wrong? If this is a bug? Is there a workaround? class ViewController:…
mfaani
  • 33,269
  • 19
  • 164
  • 293
0
votes
1 answer

How to conditionally show either a UIMenu or an alert from a UIBarButtonItem?

I want to present a menu from a UIBarButtonItem, but only if a runtime check succeeds when the button is tapped, otherwise show an alert. Quick background. I had some older code (pre-UIMenu days) that handled the UIBarButtonItem with a target/action…
HangarRash
  • 7,314
  • 5
  • 5
  • 32
0
votes
0 answers

I have preview on UIMenu with reactions and it doesnt scroll and answer on dedSelectItemAt

the sample of how it looks I have preview on UIMenu with reactions and it doesnt scroll and answer on dedSelectItemAt. It should have a horizontal scrolling but it doesnt response on any touch this is how I show it on my…
0
votes
0 answers

How to show UIMenu with Trailing Swipe Action(UIContextualAction)?

I want to show a Menu with UIContextualAction. I know I cannot modify it that much so I decided to add a button when in UIContextualAction Handler and then press it programatically to show the menu. First instead of menu I decided to print or show a…
0
votes
2 answers

How to implement a pull-down button that supports multiple selection?

I had no trouble implementing a pop-up button that lets a user select from a mutually exclusive list of options. This is covered in the Pop-up buttons section of the HIG. Now I want something similar but to allow the user to select any number of…
HangarRash
  • 7,314
  • 5
  • 5
  • 32
0
votes
1 answer

macOS Catalyst App system menu issue Help is unavailable

I have a macOS Catalyst app and I am having issues with the system menu. I would like to keep the Help menu and the search bar. I would like to remove an option from the menu as I get the follow error. When click on "App Name Help" I get message…
0
votes
0 answers

UIMenu dark background in light mode

I'm trying to show UIMenu from UIBarButtonItem, which is created with UIButton, UIBarButtonItem(customView:) Need to say that this bar buttons I add to the toolbar. If I'm trying to show the menu from simple button - background and styling is ok It…
0
votes
0 answers

Adding Long press gesture to UIMenu Items

Is there a way to add Long press gesture to UIMenu Items?
Hassan Taleb
  • 2,350
  • 2
  • 19
  • 24
0
votes
0 answers

Filtering data within an array swift

I'm trying to filter data using a UIMenu. The filter is based on an array of tags which each recipe has. Here is my struct which is populated from a firestore database... struct RecipeData: Codable { @DocumentID var id: String? var recipeType:…
Chris
  • 109
  • 1
  • 8
0
votes
0 answers

How to pass data through a segue triggered by UIAction in UIMenu?

I'm working on a store management system where customers can make orders as well as edit them. In my Order History page there's a tableView which has a button which when pressed shows a menu with two options, "Edit Order" and "Delete Order". I'm…
JonGrimes20
  • 115
  • 9
0
votes
1 answer

How to make a non clickable menu Item in UIMenu?

How to make a non clickable menu Item in UIContextMenuConfiguration? At the moment, when I click on the menu item, nothing happens and the menu just closes. I need the menu not to close when I click on the item. Here is some code: @available(iOS…
Morozov
  • 4,968
  • 6
  • 39
  • 70
0
votes
2 answers

UIMenu doesn't pop up

I'm trying to pop up a UIMenu once the user press the correct UIBarButton, but the problem is the UIMenu doesn't pop up and I don't know why, would be cool if you guys can help me with that. I also added the comment code to show you all the…
Aviav Sabag
  • 81
  • 1
  • 8