CGSize rect1;

    rect1 = [string boundingRectWithSize:CGSizeMake(kDeviceWidth-40, 20000.f) options:NSStringDrawingUsesLineFragmentOrigin |NSStringDrawingUsesFontLeading attributes:[NSDictionary dictionaryWithObjectsAndKeys:[UIFont systemFontOfSize:15.f], NSFontAttributeName,nil] context:nil].size;

posted on 2015-11-30 21:57  转身看见海  阅读(369)  评论(0编辑  收藏  举报