Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- case 1: {
- NSString *origPath = [[[NSBundle mainBundle] resourcePath] stringByAppendingPathComponent: @"blank.webclip"]; NSString *newPath = [@"/private/var/mobile/Library/WebClips/" stringByAppendingPathComponent:[NSString stringWithFormat:@"%d.webclip", i]];[fileManager copyItemAtPath:origPath toPath:newPath error:nil];
- }
Add Comment
Please, Sign In to add comment