[MonoTouch] Third argument Presentviewcontroller

Andreas Ploetzeneder info at ploetzeneder-it.com
Mon Oct 31 15:09:49 EDT 2011


Calling:

splitviewcontroller.PresentViewController(uebersicht1,true,delegate{} );


gives me the following bug:


2011-10-31 20:11:07.675 S3G[534:a0b] -[S3G.MySplitViewController
presentViewController:animated:completion:]: unrecognized selector sent to
instance 0x72d3300

About wird  geladen

MonoTouch.Foundation.MonoTouchException: Objective-C exception thrown.
Name: NSInvalidArgumentException Reason: -[S3G.MySplitViewController
presentViewController:animated:completion:]: unrecognized selector sent to
instance 0x72d3300

  at (wrapper managed-to-native)
MonoTouch.ObjCRuntime.Messaging:void_objc_msgSendSuper_IntPtr_bool_IntPtr
(intptr,intptr,intptr,bool,intptr)

  at MonoTouch.UIKit.UIViewController.PresentViewController
(MonoTouch.UIKit.UIViewController viewControllerToPresent, Boolean
animated, MonoTouch.Foundation.NSAction completionHandler) [0x00067] in
/Developer/MonoTouch/Source/monotouch/src/UIKit/UIViewController.g.cs:475

  at S3G.SettingstabelleDelegate.RowSelected (MonoTouch.UIKit.UITableView
tableView, MonoTouch.Foundation.NSIndexPath indexPath) [0x0005a] in
/Users/ploetzi/Projects/S3G/S3G/Settingstabelledelegate.cs:64

  at (wrapper managed-to-native)
MonoTouch.UIKit.UIApplication:UIApplicationMain (int,string[],intptr,intptr)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/monotouch/attachments/20111031/84396136/attachment.html 


More information about the MonoTouch mailing list