- Home /
Problem with U3DXT iOS Native Share
XCode consol says:
(Filename: /Applications/buildAgent/work/d63dfc6385190b60/artifacts/iPhonePlayer-armv7Generated/UnityEngineDebug.cpp Line: 49)
exception: -[UIPopoverController setContentViewController:animated:] can only be called after the popover has been presented.
(Filename: /Applications/buildAgent/work/d63dfc6385190b60/artifacts/iPhonePlayer-armv7Generated/UnityEngineDebug.cpp Line: 49)
U3DXTException: -[UIPopoverController setContentViewController:animated:] can only be called after the popover has been presented.
at U3DXT.iOS.Native.Internals._CallbackCache._ThrowException (System.String str) [0x00000] in :0
at (wrapper native-to-managed) U3DXT.iOS.Native.Internals._CallbackCache:_ThrowException (intptr)
at U3DXT.iOS.Native.UIKit.UIPopoverController.set_contentViewController (U3DXT.iOS.Native.UIKit.UIViewController value) [0x00000] in :0
at U3DXT.iOS.Social.SocialXT.Share (System.Object[] items, System.String[] excludedActivityTypes) [0x00000] in :0
at Share.ShareIt (System.String shareText, System.String link, UnityEngine.Texture2D icon) [0x00000] in :0
at guiview.OnGUI () [0x00000] in :0
(Filename: Line: -1)
First click works fine, and then says it. Anyone saw this problem? Any ideas? Thanks.