摘要: 废话不多说,直接上代码:+ (void) makeCall:(NSString *)phoneNumber { if ([DeviceDetection isIPodTouch]){ [UIUtils alert:kCallNotSupportOnIPod]; return; } NSString* numberAfterClear = [UIUtils cleanPhoneNumber:phoneNumber]; NSURL *phon... 阅读全文
posted @ 2012-10-16 11:05 一位程序猿 阅读(130) 评论(0) 推荐(0)
摘要: UILabel 自动换行,不废话了,直接上代码:UIView *footerView = [[UIView alloc] initWithFrame:CGRectMake(10, 100, 300, 180)]; UILabel *label = [[UILabel alloc] initWithFrame:CGRectMake(10, 100, 300, 150)]; label.text = @"测试换行测试换行测试换行测试换行测试换行测试换行测试换行测试换行测试换行测试换行测试换行测试换行测试换行测试换行测试换行测试换行测试换行测试换行测试换行测试换行测试换行测试换行测试... 阅读全文
posted @ 2012-10-16 10:43 一位程序猿 阅读(266) 评论(0) 推荐(0)