When using UILabel, the edge of a gray thin line UILabel appear iOS

When using UILabel, a thin line UILabel edge appears gray iOS is because the high setting label width, the width and height no rounding


There are three solutions:

    1、CGRectMake(0,0,(int)123.5,(int123.5));

    2, the use of frame UILabel CGRectIntegral re-assignment

    3, provided UILabel background color is clearcolor



Guess you like

Origin blog.csdn.net/u013069892/article/details/80048317