天天看點

給view button 設定圓角

    UIview * view= [[UIViewalloc] init];

    view.layer.masksToBounds =YES;

    view.layer.cornerRadius = 6.0;