会员
周边
众包
新闻
博问
闪存
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
奶杨
2015年2月22日
drawInRect:withFont:lineBreakMode:alignment is deprecated
摘要: CGRect myRect = CGRectMake(5,10,200,100)将[myText drawInRect:myRect withFont:myFont lineBreakMode:UILineBreakModeWordWrap alignment:UITextAlignmentRigh...
阅读全文
posted @ 2015-02-22 10:32 奶杨
阅读(531)
评论(0)
推荐(0)
'sizeWithFont:constrainedToSize:' is deprecated: first deprecated in iOS 7.0 - Use -boundingRectWithSize:options:attributes:context:
摘要: 解决方法:NSString *myText = @"xxxxx";将CGSizemySize =[myTextsizeWithFont:myFontconstrainedToSize:CGSizeMake(200,100)];改写成:CGSizemySize = [myTextboundingRec...
阅读全文
posted @ 2015-02-22 10:31 奶杨
阅读(851)
评论(0)
推荐(0)
Comparison of constant 'NSStreamEventErrorOccurred' (8)with expression of type 'NSStreamStatus'(aka 'enum NSStreamStatus') is always false.
摘要: 解决方法:将NSStreamEventErrorOccurred 替换为 NSStreamStatusError.
阅读全文
posted @ 2015-02-22 10:29 奶杨
阅读(288)
评论(0)
推荐(0)
error: failed to attach to process ID 0
摘要: 重启Xcode可能会正确运行,或者用以下方法:步骤1:Xcode目录Window->Organizer,将工程名文件删除。步骤2:Xcode目录Xcode->Open Developer Tool->iOS Simulator,弹出模拟器后,菜单上"iOS模拟器"选项->还原内容和设置,退出模拟器。...
阅读全文
posted @ 2015-02-22 10:28 奶杨
阅读(118)
评论(0)
推荐(0)
导航
博客园
首页
新随笔
联系
订阅
管理
公告