c# - Methods that use convertPoint:fromLayer implicitly in Xamarin.iOS/MonoTouch -
can give me clues methods use convertpoint:fromlayer
implicitly? thank in advance.
after last update of xamarin.ios app frequent crash reports users 1 below (uibuttoncontent can other (possibly generated) type uimage, __nscftype, __nscfdictionary, os_voucher, etc.).
objective-c exception thrown. name: nsinvalidargumentexception reason: -[uibuttoncontent convertpoint:fromlayer:]: unrecognized selector sent instance 0x145c52e0 @ objcruntime.runtime.thrownsexception (intptr ns_exception) [0x00000] in :0 @ objcruntime.runtime.throw_ns_exception (intptr exc) [0x00000] in :0 @ (wrapper native-to-managed) objcruntime.runtime:throw_ns_exception (intptr) @ (wrapper managed-to-native) uikit.uiapplication:uiapplicationmain (int,string[],intptr,intptr) @ uikit.uiapplication.main (system.string[] args, intptr principal, intptr delegate) [0x00000] in :0 @ uikit.uiapplication.main (system.string[] args, system.string principalclassname, system.string delegateclassname) [0x00000]
the cause of crashes seems memory management issue in app (multiple posts found on type of exception). however, have trouble pinpointing error in app, because error message points code - convertpoint:fromlayer
- not explicitly use myself.
btw problem seems ios 8 specific. app supports lower ios versions, crashes occur on devices ios 8.
that methods convertpointfromlayer if using c#. , indicate calling method on calayer no longer in memory.
Comments
Post a Comment