[MonoTouch] Problem with UISegmentedControl on iPad
Dean Cleaver
dean.cleaver at xceptionsoftware.com
Mon Mar 19 21:17:24 UTC 2012
Am trying to set the UISegmentedControl to ApportionsSegmentWidthsByContent = true and it crashes on the iPad - doesn't crash in the simulator (iPhone) nor on my iPhone devices. Any ideas why the difference?
MonoTouch.Foundation.MonoTouchException: Objective-C exception thrown. Name: NSInvalidArgumentException Reason: -[UISegmentedControl setApportionsSegmentWidthsByContent:]: unrecognized selector sent to instance 0x868fc80
at MonoTouch.UIKit.UISegmentedControl.set_ApportionsSegmentWidthsByContent (Boolean value) [0x00000] in <filename unknown>:0
at KleverLogic.FlashValet.iPhone.Valet.Common.ReceiptViewController.ViewDidLoad () [0x00374] in /xsl-home/kleverlogic/FlashValet/Mobile/iPhone/Valet/Common/ReceiptViewController.cs:103
More information about the MonoTouch
mailing list