会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
杨大龙dalong
博客园
首页
新随笔
联系
管理
订阅
上一页
1
2
3
下一页
2016年4月23日
StatusBar 更改状态栏颜色(ios7)
摘要: [[UIApplication sharedApplication] setStatusBarStyle:UIStatusBarStyleDefault];
阅读全文
posted @ 2016-04-23 16:18 杨大龙dalong
阅读(124)
评论(0)
推荐(0)
2016年4月12日
ios版本更新提示
摘要: // 提示用户更新-(void)checkAppUpdate{ NSDictionary *infoDict = [[NSBundle mainBundle] infoDictionary]; NSString *nowVersion = [infoDict objectForKey:@"CFBun
阅读全文
posted @ 2016-04-12 14:44 杨大龙dalong
阅读(216)
评论(0)
推荐(0)
2016年4月11日
IOS 两个UIImage 合成一个Image
摘要: UIImage *image1 = [UIImage imageNamed:@"p1"]; UIImage *image2 = [UIImage imageNamed:@"p2"]; CGSize size = CGSizeMake([UIScreen mainScreen].bounds.size
阅读全文
posted @ 2016-04-11 17:54 杨大龙dalong
阅读(2549)
评论(0)
推荐(0)
2016年4月6日
SVN Description : The working copy is locked due to a previous error.
摘要: 情景 由于网络不好,更新或上传失败造成 1.点击WorkingCopy 2.点击Clean 如果clean没有效果的话只好手动删除锁定文件。 cd 到svn项目目录下,然后执行如下命令 del lock /q/s 就把锁删掉了。
阅读全文
posted @ 2016-04-06 17:52 杨大龙dalong
阅读(338)
评论(0)
推荐(0)
2016年4月1日
Swift UILabel
摘要: var lable = UILabel (frame: CGRectMake(10,10,200,100)) lable.text = "yangxiaolong yangyang" lable.backgroundColor = UIColor .redColor() lable.textColo
阅读全文
posted @ 2016-04-01 09:52 杨大龙dalong
阅读(153)
评论(0)
推荐(0)
2016年3月25日
包含字母的字符串 字母全部大写
摘要: -(NSString *)toUpper:(NSString *)str{ for (NSInteger i=0; i<str.length; i++) { if ([str characterAtIndex:i]>='a'&[str characterAtIndex:i]<='z') { //A
阅读全文
posted @ 2016-03-25 18:48 杨大龙dalong
阅读(227)
评论(0)
推荐(0)
2016年3月23日
关于xcode插件安装
摘要: 在终端中mkdir -p ~/Library/Application\ Support/Developer/Shared/Xcode/Plug-ins curl -fsSL https://raw.github.com/supermarin/Alcatraz/master/Scripts/insta
阅读全文
posted @ 2016-03-23 18:36 杨大龙dalong
阅读(117)
评论(0)
推荐(0)
百度地图根据绘制的路线进行合理缩放
摘要: //根据polyline设置地图范围- (void)mapViewFitPolyLine:(BMKPolyline *) polyLine { CGFloat ltX, ltY, rbX, rbY; if (polyLine.pointCount < 1) { return; } BMKMapPoi
阅读全文
posted @ 2016-03-23 11:04 杨大龙dalong
阅读(588)
评论(0)
推荐(0)
2016年3月21日
获取当前显示的UITableViewCell
摘要: UICollectionView *ta = (UICollectionView *)scrollView; NSArray *Vells = [ta visibleCells]; NSIndexPath *dex = [ta indexPathForCell:Vells[0]]; table 同上
阅读全文
posted @ 2016-03-21 18:09 杨大龙dalong
阅读(607)
评论(0)
推荐(0)
2016年3月19日
由字典组成的数组根据key排序
摘要: NSArray *array = [NSArray array]; [array sortedArrayUsingComparator:^NSComparisonResult(id obj1, id obj2){ NSNumber index1 = [obj1 valueForKey:@"index
阅读全文
posted @ 2016-03-19 23:12 杨大龙dalong
阅读(242)
评论(0)
推荐(0)
上一页
1
2
3
下一页
公告