Quantcast
Channel: Xamarin.Forms — Xamarin Community Forums
Viewing all articles
Browse latest Browse all 77050

Why UIMenuController doesn't work anymore after displaying a Xamarin Forms Page ?

$
0
0

Hi,

I have a UIMenuController that appear when a longpress is performed on a UIView.
This menu contains 2 items :
Item 1 : open a native iOS UIViewController
Item 2 : open a Xamarin Forms Page with the CreateViewController() method

In the second case when the Xamarin Forms Page is dismissed the menu doesn't appear anymore.
It's only the case when I try to display the Xamarin Forms page, if I select only the item 1 the menu still works.

I tried to put some logs in order to find out the issue.
When the longpress event is processing the menu is well created.
Then the canBecomeFirstResponder return true.
But it seems the canPerformAction method is not call anymore.


Viewing all articles
Browse latest Browse all 77050

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>