You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Build & run on iPad Simulator (I used iPad Pro 10.5" @ iOS 12.2)
Once the app is running tap button in lower right corner
(Popover appears)
Rotate simulator
App stops due to ObjCRuntime exception being thrown
Expected Behaviour
Exception is not thrown
Actual Behaviour
Exception thrown:
ObjCRuntime.RuntimeException: Unable to marshal the out/ref parameter #3 whose managed type is 'UIKit.UIView&' to Objective-C.
Additional information:
Selector: popoverPresentationController:willRepositionPopoverToRect:inView:
Method: PopoverTest.Interface.MainController:WillRepositionPopover (UIKit.UIPopoverPresentationController,CoreGraphics.CGRect&,UIKit.UIView&)
at at (wrapper managed-to-native) UIKit.UIApplication.UIApplicationMain(int,string[],intptr,intptr)
at UIKit.UIApplication.Main (System.String[] args, System.IntPtr principal, System.IntPtr delegate) [0x00005] in /Library/Frameworks/Xamarin.iOS.framework/Versions/12.14.0.114/src/Xamarin.iOS/UIKit/UIApplication.cs:86
at UIKit.UIApplication.Main (System.String[] args, System.String principalClassName, System.String delegateClassName) [0x0000e] in /Library/Frameworks/Xamarin.iOS.framework/Versions/12.14.0.114/src/Xamarin.iOS/UIKit/UIApplication.cs:65
at PopoverTest.Application.Main (System.String[] args) [0x00001] in /Users/csnazell/Development/Linn/PopoverTest/PopoverTest/PopoverTest/Main.cs:12
…s in the dynamic registrar. Fixesxamarin#6883.
Method encodings do not change anything for us, so skip them when processing
copyback arguments so that they don't confuse the rest of the code.
Fixesxamarin#6883.
…s in the dynamic registrar. Fixes#6883. (#6904)
Method encodings do not change anything for us, so skip them when processing
copyback arguments so that they don't confuse the rest of the code.
Fixes#6883.
ghost
locked as resolved and limited conversation to collaborators
May 2, 2022
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Labels
bugIf an issue is a bug or a pull request a bug fixiOSIssues affecting iOS
Steps to Reproduce
Expected Behaviour
Exception is not thrown
Actual Behaviour
Exception thrown:
Environment
Build Logs
Example Project (If Possible)
PopoverTest.zip
The text was updated successfully, but these errors were encountered: