CGSize size; size.height = 7; //自定义圆点的大小 size.width = 7; //自定义圆点的大小 [myView setFrame:CGRectMake(dot.frame.origin.x, dot.frame.origin.y, size.width, size.width)];