title: how to save video in IOS7?
body: <p>I used the following code to save video in the photo library,but it is not working IOS7.</p>
  
  <pre><code>ALAssetsLibrary *library = [[ALAssetsLibrary alloc] init];
  if ([library videoAtPathIsCompatibleWithSavedPhotosAlbum:urlVideo])
  {
      [library writeVideoAtPathToSavedPhotosAlbum:urlVideo completionBlock:^(NSURL *assetURL, NSError *error){
          dispatch_async(dispatch_get_main_queue(), ^{
              if (error) {
                  [self ShowMessage:@"Failed to create movie ! It may be due to video quality,please try again/"  andTitle:@"ERROR:" andButtonTitle:@"Close"];
                   [self EnableView];
              }
              else {
                  [self ShowMessage:@"Movie created successfully" andTitle:@"Movie Status" andButtonTitle:@"Ok"];
                  [self EnableView];
                  }
               });
           }];
  }
  </code></pre>
  
  <p>I used this method also,but this method also fails to save video in IOS7</p>
  
  <pre><code>UISaveVideoAtPathToSavedPhotosAlbum (exportPath, [GlobalMethods sharedInstance], @selector(video:didFinishSavingWithError:contextInfo:), nil);
  </code></pre>
  
  <p>Please let me know if is there any modification that needs to be made in this method only or is there any other method for storing video in IOS7. Thanks in advance.</p>