diff --git a/Ifish/views/HKPieChartView/HKPieChartView.m b/Ifish/views/HKPieChartView/HKPieChartView.m index 68dc8ac..2163c82 100755 --- a/Ifish/views/HKPieChartView/HKPieChartView.m +++ b/Ifish/views/HKPieChartView/HKPieChartView.m @@ -212,9 +212,17 @@ - (CAShapeLayer *)progressLayer { if (!_progressLayer) { _progressLayer = [CAShapeLayer layer]; - [self loadLayer:_progressLayer WithColor:self.progressColor]; - _progressLayer.lineCap = kCALineCapRound; - _progressLayer.strokeEnd = 0; + @try { + [self loadLayer:_progressLayer WithColor:self.progressColor]; + _progressLayer.lineCap = kCALineCapRound; + _progressLayer.strokeEnd = 0; + } @catch (NSException *exception) { + + } @finally { + + } + + } return _progressLayer; }