Sportica   Sportica
摘要: UIImageView *imageView1 = [[UIImageView alloc]initWithFrame:CGRectMake(0, 100, 320, 20)]; [self.view addSubview:imageView1]; UIGraphicsBeginImageContext(imageView1.frame.size); //开始画线 [imageView1.image drawInRect:CGRectMake(0, 0, imageView1.frame.size.width, imageView1.frame.size.... 阅读全文
posted @ 2013-09-24 18:29 qingjoin 阅读(16496) 评论(2) 推荐(0) 编辑
摘要: 原文地址:UIFont 设置字体作者:青竹居士 http://deep-fish.iteye.com/blog/1678874UIFont 设置字体1 label.font = [UIFont fontWithName:@"Arial-BoldItalicMT" size:24];字体名如下:Font Family: American TypewriterFont: AmericanTypewriterFont: AmericanTypewriter-BoldFont Family: AppleGothicFont: AppleGothicFont Family: Aria 阅读全文
posted @ 2013-09-24 16:00 qingjoin 阅读(10557) 评论(1) 推荐(1) 编辑
摘要: //比如rgb 色值为73、 148 、230 那么ios 里面要在后面加.0f 再除以255[bline setBackgroundColor:[UIColor colorWithRed:73.0f/255.0f green:148.0f/255.0f blue:230.0f/255.0f alpha:0.5]]; 阅读全文
posted @ 2013-09-24 15:16 qingjoin 阅读(13727) 评论(1) 推荐(0) 编辑
摘要: iOS 7后Mac 地址就不能用了。不过可以用advertisingIdentifier来取,再多个project 里测试是唯一的,但如果遇到系统升级或是重刷这个就不一定能唯一了。。这里还要加一个库。AdSupport.frameworkNSString *adId = [[[ASIdentifierManagersharedManager] advertisingIdentifier] UUIDString]; NSLog(@"divicedentifier:%@",[selfmacaddress]);//50C10807-E87A-476C-9AE4-6BA221838 阅读全文
posted @ 2013-09-24 10:54 qingjoin 阅读(1585) 评论(0) 推荐(0) 编辑
  Sportica