Questions tagged [uicontextmenuinteraction]

18 questions
0
votes
1 answer

How can a variable be assigned to a UIInteraction in Swift?

Why do I need variables? Because upon 2 different long presses in the cell, there are 2 images that need to be called in func contextMenuInteraction Below is my code, where I assign a variable to each long press interaction. I get error Thread 1:…
uuuuuu
  • 119
  • 1
  • 7
0
votes
1 answer

UIContextMenu and UITableView issues

I'm trying to add a similar UIContextMenu as you can find in iMessages. When you long press a message, the context menu with some options should display. I use tableView(_:contextMenuConfigurationForRowAt:point:) and other methods. So far so…
-1
votes
2 answers

Why UINavigationItem shows menu button?

I have UINavigationItem with UISearachController; #warning - addded UISearchController self.searchController = [[UISearchController alloc] initWithSearchResultsController:nil]; self.navigationItem.searchController =…
Vit
  • 936
  • 1
  • 10
  • 20
1
2