Solution - 'fileAttributesAtPath:traverseLink:' is deprecated - in iPhone SDK | Coding Cluster - using asp.net, c#, mvc 4, iphone, php, ios, javascript, in asp.net mvc 3 & more
 

Solution - 'fileAttributesAtPath:traverseLink:' is deprecated - in iPhone SDK

Wednesday

iPhone - Resolve fileAttributesAtPath warning:
                                                       In one of my app I got a warning like " 'fileAttributesAtPath: traverseLink: ' is deprecated " from this line  "NSDictionary* attr = [[NSFileManager defaultManager] fileAttributesAtPath:file traverseLink:YES];". To fixe this issue use Use attributesOfItemAtPath:error: instead. That is...

 Solution:
 NSError* error;
 NSDictionary* attr = [[NSFileManager defaultManager] attributesOfItemAtPath:file error:&error];

I'm fixed my issue by this way.

0 comments:

Post a Comment

Share your thoughts here...

 
 
 

RECENT POSTS

Boost

 
Blogger Widgets