Hi I am try to capture a view then save as an image into Photo Library , but I need create a custom resolution for captured image , here is my code but when app saves the im
CGSize sizePic = CGSizeMake(320, 460); UIGraphicsBeginImageContext(sizePic); [self.view.layer renderInContext:UIGraphicsGetCurrentContext()]; UIImage *imagePic = UIGraphicsGetImageFromCurrentImageContext(); UIGraphicsEndImageContext(); UIImageWriteToSavedPhotosAlbum(imagePic, nil, nil, nil);