101 reputation
2
bio website
location Bhavnagar, India
age
visits member for 2 years, 8 months
seen Dec 13 '13 at 6:26

http://support.brightcove.com/en/app-cloud/docs/step-step-guide-publishing-apple-app-store-using-mac

Inserting NSData into SQLite on the iPhone

Retrieve nsdata from sqlite stored in Blob data type for iPhone App

Testing Google Analytics iOS SDK

NSFileManager *fileManager = [NSFileManager defaultManager];

NSError *error;

NSArray *paths = NSSearchPathForDirectoriesInDomains(NSCachesDirectory, NSUserDomainMask, YES);
NSString *documentsDirectory = [paths objectAtIndex:0]; // Get Caches Folder

NSString *dataPath = [documentsDirectory stringByAppendingPathComponent:@"/Files"];

if (![fileManager fileExistsAtPath:dataPath])
{
    BOOL successs;

    NSString *defaultPath = [[[NSBundle mainBundle] resourcePath] stringByAppendingPathComponent:@"Files"];

    successs  = [fileManager fileExistsAtPath:defaultPath];

    if(successs)
    {
        //NSLog(@"Image Created in Cache Folder");
        NSString *strFile = [NSString stringWithFormat:@"%@",dataPath];

        [fileManager copyItemAtPath:defaultPath toPath:strFile error:&error];
    }
}



    NSFileManager *fileManager = [NSFileManager defaultManager];

    NSError *error;

    NSArray *paths = NSSearchPathForDirectoriesInDomains(NSCachesDirectory, NSUserDomainMask, YES);
    NSString *documentsDirectory = [paths objectAtIndex:0]; // Get Caches Folder

    NSString *dataPath = [documentsDirectory stringByAppendingPathComponent:@"/ImagesForCopy"];

    [fileManager removeItemAtPath:dataPath error:&error];

This user has not answered any questions
This user has no recent positive reputation changes
This user has not asked any questions
This user has not participated in any tags

1 Vote Cast

all time   by type  
1 up 1 question
0 down 0 answer