当电子邮件被标记为未读时,我正在尝试为我的TableViewCell创建一个类似于AppleMail应用程序中的圆形指示器。我有以下代码:varIndicator=CAShapeLayer()varIndicatorSize:CGFloat=10//standardbluecolorletblueColor=UIColor(red:0,green:122.0/255.0,blue:1.0,alpha:1)//createcircularCAShapeLayerIndicator.bounds=CGRect(x:0,y:0,width:IndicatorSize,height:Indic