西瓜太郎
2.f;accuracyCircleView.strokeColor = [UIColor lightGrayColor];accuracyCircleView.fillColor = [UIColor colorWithRed:1 green:0 blue:0 alpha:.3];return accuracyCircleView;} return nil;}這段代碼寫好后運行一下看看結(jié)果,你會發(fā)現(xiàn)原來的藍(lán)色圓環(huán)變成紅色的了。如果想隱藏的話很簡單,把圓環(huán)描邊和填充的顏色設(shè)置為透明即可:accuracyCircleView.strokeColor = [UIColor colorWithRed:1 green:0 blue:0 alpha:0.0];accuracyCircleView.fillColor = [UIColor colorWithRed:1 green:0 blue:0 alpha:0.0];
遙遠(yuǎn)未來
2021-09-23 17:28:33 1184查看 0回答
Sunshine*?。Ch
2021-09-23 17:45:14 552查看 3回答
西瓜太郎
2021-09-23 17:52:43 1722查看 3回答
sumu0108
2021-09-23 17:52:55 2403查看 3回答
2021-09-23 17:52:55 593查看 0回答