addSkipBackupAttributeToItemAtURL -> NSString parameter?
问题 In order to follow the Data Storage Guidelines I must use the below method to add a flag to say to not back it up to iCloud. However, the parameter here is for a NSURL. I need to pass it a NSString like from a line like so return [[self offlineQueuePath] stringByAppendingPathComponent:@"SHKOfflineQueue.plist"]; Here is the method that takes in a URL. - (BOOL)addSkipBackupAttributeToItemAtURL:(NSURL *)URL { if (&NSURLIsExcludedFromBackupKey == nil) { // iOS <= 5.0.1 const char* filePath = [