- 浏览: 350390 次
- 性别:
- 来自: 福州
最新评论
-
feishihai:
太 感谢 了!!!其他地方说的都只有一半!!
xcode5 Icon already includes gloss effects doesnot work解决方法 -
hhb19900618:
你这个效果有渐变吗?
UITableView阴影 -
zhaoyubetter:
不对啊。这是遍历 value啊
NSDictionary遍历所有的key和Values -
sunqingquan:
学习啦,加油
NSError code错误列表信息 -
liubiqu:
如果有xib文件需要增加一个language,这样调用选择图片 ...
iphone系统控件里显示中文标题设置
文章列表
http://omegadelta.net/2011/05/10/how-to-wait-for-ios-methods-with-completion-blocks-to-finish/
检测文件属性(图片,视频或文本)
- 博客分类:
- iPhone不能分类的
NSString *file = @"http://192.168.119.222:8090/shzhserver/media/dcb289f1-d5d8-4fcd-a8eb-5ec10838d38f.mp4";
DLog(@"%@", [file pathExtension]);
CFStringRef fileExtension = (CFStringRef) [file pathExtension];
CFStringRef fileUTI = UTTypeCreatePreferredIdentifierFo ...
缓存在软硬件设计中是一个十分常见的优化方法,多用于高性能软硬件的设计。简单地说,缓存就是利用存储器的速度等级差异,将低速存储中使用频率高的内容加载到高速存储中,这样可以有效提高访问速度。比如将常用的图 ...
打开project.pbxproj 手工删除了里面>>>head,===,<<<branch-name
anchorPoint详解
- 博客分类:
- CALayer
http://ideveloper.co/understanding-the-anchor-point/
彻底理解position与anchorPoint
http://wonderffee.github.io/blog/2013/10/13/understand-anchorpoint-and-position/
eg fjfxt_ii typhoon module
*/
UIKIT_EXTERN NSString *const NSFontAttributeName NS_AVAILABLE_IOS(6_0); // UIFont, default Helvetica(Neue) 12
UIKIT_EXTERN NSString *const NSParagraphStyleAttributeName NS_AVAILABLE_IOS(6_0); // NSParagraphStyle, default defaultParagraphStyle
UIKIT_EXTERN NSString *const N ...
如上图
navBar.barTintColor = [UIColor blackColor];
navBar.tintColor = [UIColor blueColor];
IOS7 中barTintColor改变UINavigationBar导航条的颜色,tintColor改变左右按钮的字的颜色
-(BOOL)application:(UIApplication*)application didFinishLaunchingWithOptions:
+(void)roundCorners:(UIRectCorner)corners forView:(UIView *)view {
UIBezierPath *maskPath = [UIBezierPath bezierPathWithRoundedRect:view.bounds
byRoundingCorners:corners
cornerRadii:CGS ...
If Xcode complains when linking, e.g. Library not found for -lPods, it doesn't detect the implicit dependencies:
Go to Product > Edit Scheme
Click on Build
Add the Pods static library, and make sure it's at the top of the list
Clean and build again
If that doesn't work, verify that the so ...
Unrecognized selector is an exception, and you can set a breakpoint on exceptions.
In Xcode 4, go to the breakpoint navigator, click the +, and choose "Add Exception Breakpoint". Under Exception, choose Objective-C. Under Break, choose On Throw. It should look like this when you're done ...
解决找不到msvcr100d.dll的问题
- 博客分类:
- VC
检查软件版本运行时提示丢失 msvcr100d.dll
安装vc++ 2010 redistribution,还是提示丢失这个dll文件,拷贝也无用
在网上查找后原来是
**********************************************************************************************
在VC里面找设置,Property->C/C++->Code Generation->Runtime Library
msvcr100d.dll,这个dll对应的是C++编译器的Code Generati ...
方便设置view的frame
- 博客分类:
- UIView
Use
view.x = 15;
view.width = 167;
instead of
CGRect
IOS 如何获取当前设置的语言
- 博客分类:
- iPhone不能分类的
NSUserDefaults *defaults = [NSUserDefaults standardUserDefaults]; NSArray *languages = [defaults objectForKey:@"AppleLanguages"]; NSString *currentLanguage = [languages objectAtIndex:0];取得设置好的语言。。日语是ja,中文是zh_Hans