[MonoTouch] Subclassing UIwebView causes crash iOS5
trip
andywhitt at gmail.com
Thu Oct 13 11:50:45 EDT 2011
Subclassing UIWebView in iOS 5 and then setting the class in XCode, results
in the following crash.
Stacktrace:
at MonoTouch.Foundation.NSObject.InitializeObject (bool) <0x00093>
at MonoTouch.Foundation.NSObject..ctor (MonoTouch.Foundation.NSObjectFlag)
<0x0002b>
at MonoTouch.UIKit.UIResponder..ctor (MonoTouch.Foundation.NSObjectFlag)
<0x00023>
at MonoTouch.UIKit.UIView..ctor (MonoTouch.Foundation.NSObjectFlag)
<0x00023>
at MonoTouch.UIKit.UIWebView..ctor (MonoTouch.Foundation.NSCoder)
<0x00033>
at MyNameSpace.MyUIWebView..ctor (MonoTouch.Foundation.NSCoder) <IL
0x00002, 0x00087>
at (wrapper runtime-invoke) object.runtime_invoke_dynamic
(intptr,intptr,intptr,intptr) <0xffffffff>
at MonoTouch.UIKit.UIViewController.get_View () <0x00097>
at (wrapper runtime-invoke) object.runtime_invoke_dynamic
(intptr,intptr,intptr,intptr) <0xffffffff>
at MonoTouch.UIKit.UISplitViewController.set_ViewControllers
(MonoTouch.UIKit.UIViewController[]) <0x00083>
The app ends and MonoDevelop stop debugging.
I'm currently running MD 2.8.1 MT 5 and iOS 5 GM.
A test solution can be grabbed from here:
http://dl.dropbox.com/u/10852937/TestUIwebView.zip
Andy ideas?
--
View this message in context: http://monotouch.2284126.n4.nabble.com/Subclassing-UIwebView-causes-crash-iOS5-tp3901975p3901975.html
Sent from the MonoTouch mailing list archive at Nabble.com.
More information about the MonoTouch
mailing list