把“***”垂直居中

//        //把“***”垂直居中
//        NSMutableAttributedString *ats = [[NSMutableAttributedString alloc] initWithString:[NSString stringWithFormat:@"**** **** **** %@",bankNumber]];
//        [ats addAttributes:@{NSBaselineOffsetAttributeName:@(-5)} range:(NSRange){0,ats.length - 4}];
posted @ 2016-12-29 17:06  davidyff  阅读(186)  评论(0编辑  收藏  举报