i simply create numbers of UIViews with same width.
for (NSInteger i = 0; i < 20; i++)
{
UIView* v = [[UIView alloc] initWithFrame:CGRectMake(50 + i * 10, 400, 1, 20)];
v.backgroundColor = [UIColor blackColor];
[self.view addSubview:v];
}
it looks right on simulator but it's width looks different on iphone6 i think maybe it is caused by the screen rate?anyone knows why?