我正在尝试在应用程序上绘制一些虚线,但它仅在具有IBDesignable的main.storyboard上绘制。当我在iOS模拟器上运行该应用程序时,没有任何显示。发生了什么事?绘制代码:@IBDesignableclassAnalogView:UIView{fileprivateletthickHorizontalLayer=CAShapeLayer()fileprivateletthinHorizontalLayer=CAShapeLayer()@IBInspectablevarthickYCoord=50.0@IBInspectablevarthinYCoord=52.5over