초과 근무 시간을 확장하는 서클을 만드는 방법은 무엇입니까? 다음 대신확장 서클 만들기 iOS
이[UIView animateWithDuration:5 animations:^(void){
/* Expand the circle */
// Get the contextRef
CGContextRef contextRef = UIGraphicsGetCurrentContext();
// Set the border width
CGContextSetLineWidth(contextRef, 1.0);
// Set the circle fill color to Transparent
CGContextSetRGBFillColor(contextRef, 0.0, 0.0, 0.0, 0.0);
// Set the cicle border color to BLUE
CGContextSetRGBStrokeColor(contextRef, 0.0, 0.0, 255.0, 1.0);
// Fill the circle with the fill color
CGContextFillEllipseInRect(contextRef, self.view.frame);
// Draw the circle border
CGContextStrokeEllipseInRect(contextRef, self.view.frame);
}];
이 프레임의 크기를 애니메이션 사소한 , 많은 예를 보라. http://stackoverflow.com/a/6728458/294884 – Fattie
"정말 할 일"하는 방법은 놀라운 것을 사용하는 것입니다 .. http://paintcodeapp.com – Fattie