使用UIStepper断言失败

时间:2012-07-11 07:13:37

标签: objective-c xcode cocoa-touch interface-builder

我正在研究Xcode 4.3.3并尝试将UIStepper用于界面构建器。尝试设置最小值= 0时,最大值= 10,000,步长值= 100,当前值= 5000.我收到以下编译时错误 -

DVTAssertions: ASSERTION FAILURE in /SourceCache/IDEInterfaceBuilderCocoaTouch/IDEInterfaceBuilderCocoaTouch-1181/IBPlugin/WidgetIntegration/IBUIStepper/IBUIStepper.m:41
Details:  Assertion failed: aValue <= maximumValue && aValue >= minimumValue
Object:   <IBUIStepper: 0x40086e000>
Method:   -setValue:
Thread:   <NSThread: 0x40010a260>{name = (null), num = 1}
Hints: None
Backtrace:.............

我对做什么一无所知,谷歌什么也没得到。有人有类似的错误或任何想法吗?

0 个答案:

没有答案