会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
LeeTVin
博客园
首页
新随笔
联系
订阅
管理
2015年6月7日
ios视图递归显示
摘要: po [self.view recursiveDescription];显示如下(; layer = ; contentOffset: {0, 0}; contentSize: {320, 568}>,>,>,>,>,>,>,>,>,>,>,>,>,>,>,>,>)
阅读全文
posted @ 2015-06-07 22:36 LeeTVin
阅读(295)
评论(0)
推荐(0)
2015年5月22日
验证码UIButton状态UIButtonTypeSystem时候一闪闪UIButtonTypeCustom不闪
摘要: 修改UIButton状态,注释NSLog(@"text1:%@",_btn.titleLabel.text);这段结果很不可思议_btn.titleLabel.text= [NSStringstringWithFormat:@"aaaaaa%i",i];NSLog(@"text1:%@",_btn....
阅读全文
posted @ 2015-05-22 11:06 LeeTVin
阅读(438)
评论(0)
推荐(0)
2015年4月2日
微信设计体验
摘要: UI一直觉得俺们iOS的不好看,so模仿微信的来。font:navigation title font:19navigation left:16cell title:16 or 17cell detail:14cell time:12tabbar title:10search text:14text...
阅读全文
posted @ 2015-04-02 15:20 LeeTVin
阅读(158)
评论(0)
推荐(0)
2015年4月1日
接近完美禁用iOS的emoji表情键盘
摘要: 支持iOS搜狗输入法和自动关联表情(如输入hehe,出来的表情)注意:Swift的textView.text!=disable_emoji(textView.text)在OC里面用 ![xxx isEqualString:bbb]转帖保留(谢谢):http://www.cnblogs.com/Lee...
阅读全文
posted @ 2015-04-01 15:57 LeeTVin
阅读(2598)
评论(0)
推荐(0)
2014年11月20日
uiviewcontroller的modal半透明问题.
摘要: 如果对你有用,记得留言哟... //弹出视图 UIStoryboard *secondStoryBoard = [UIStoryboard storyboardWithName:@"Main" bundle:nil]; reviewViewController2* revie...
阅读全文
posted @ 2014-11-20 14:40 LeeTVin
阅读(314)
评论(0)
推荐(0)
2014年8月24日
iOS alipay sdk(支付宝) web(wap/网页)回调黑屏,不完美解决方案
摘要: 不完美解决方案...(黑屏1秒恢复...)原创保留:http://www.cnblogs.com/Leetvin/p/3932865.html原因:wap回调 如果加入UINavigationController就会黑屏#if ! __has_feature(objc_arc)self.viewCo...
阅读全文
posted @ 2014-08-24 15:51 LeeTVin
阅读(1482)
评论(0)
推荐(0)
2014年6月30日
The executable was signed with invalid entitlements.错误
摘要: 证书问题,本来可以的突然不行了,强制退出xcode,再次就可以了,如果你这边还不行的话,可以试着重新导入证书到xcode
阅读全文
posted @ 2014-06-30 15:03 LeeTVin
阅读(220)
评论(0)
推荐(0)
unknown type name viewcontroller did you mean uiviewcontroller 错误!
摘要: 因为我在View1中import了View2,又在View2中的ViewA里import了View1,而ViewA和ViewB是包含在View2中的。1.两个类的头文件相互引用是会报错误的,因为.h文件他是接口,在预编译的时候就会报错的,你可以在报错的那个类中加上@Class ***2.我自己使用了...
阅读全文
posted @ 2014-06-30 11:48 LeeTVin
阅读(456)
评论(0)
推荐(0)
2014年6月3日
iOS自定义字体无效问题
摘要: 加入了一个字体发现无效最主要的原因是引用的时候fontwithname用的时文件名,而不是字体的Family name要使用字体的Family name,而不是字体的文件名,弄错了将无法看到效果。 NSArray *familyNames =[[NSArray alloc]initWithArray...
阅读全文
posted @ 2014-06-03 15:18 LeeTVin
阅读(909)
评论(0)
推荐(0)
2014年1月17日
Android TextView 文字居中
摘要: 有2种方法可以设置TextView文字居中:一:在xml文件设置:android:gravity="center"二:在程序中设置:m_TxtTitle.setGravity(Gravity.CENTER);备注:android:gravity和android:layout_gravity的区别在于前者对控件内部操作,后者是对整个控件操作。例如:android:gravity="center"是对textView中文字居中 android:layout_gravity="center"是对textview控件在整个布局中居中其实很容易
阅读全文
posted @ 2014-01-17 19:10 LeeTVin
阅读(373)
评论(0)
推荐(0)
下一页
公告