UIMenuController not working in iOS 14 developer beta

Have recently updated my phone to iOS 14 developer beta and found UIMenuController is not working in one of my existing application.
As per the Apple documentation for UIMenuController in the link : https://developer.apple.com/documentation/uikit/uimenucontroller?language=objc, few API’s got deprecated which we are using in our existing application like setTargetRect and setMenuVisible.

Also not found any documentation available for this in iOS 14 beta release notes : https://developer.apple.com/documentation/ios-ipados-release-notes/ios-ipados-14-beta-release-notes

Do we have any alternative available for these API’s or UIMenuController in iOS 14?. If yes, do I need make changes in my existing app and upload new build in AppStore? or this will be fixed in iOS 14 beta/public release?
If UIMenuController is not working in your application, do show us a minimal reproduction case or join the 1-1 labs in WWDC 2020.

The deprecated methods setTargetRect(_:in:) and setMenuVisible(_:animated:) should still work, but we recommend using showMenu(from:rect:) and hideMenu(from:) instead. These methods, new in iOS 13, let you specify target view, rect and visibility all in one call.

In addition, hideMenu(from:) also lets you also hide the menu if it was also shown from the given view, so that you don't inadvertently hide a menu belonging to another view.

G.
I have the same problem, i have used all of the new methods for iOS 14, but i also see that the menu controller hides when ever i change the orientation of my device and the isMenuVisible also returns false. Please suggest any advice.
UIMenuController not working in iOS 14 developer beta
 
 
Q