0
I want to change the background color for AVMutableVideoCompositionInstruction which is working fine.But in when I am using UIImage for Color Pattern its not Working ??? Please Help...here is code Image Using.also I am giving is BackgroundColor White but its not Showing it White.
這裏是我的代碼我使用:AVMutableVideoCompositionInstruction背景使用UIImage的顏色?
AVMutableVideoCompositionInstruction *MainInstruction = [AVMutableVideoCompositionInstruction videoCompositionInstruction];
MainInstruction.timeRange = CMTimeRangeMake(kCMTimeZero, asset.duration);
MainInstruction.layerInstructions = layerInstructionsArr;
UIColor *bgBlurrcolor =[UIColor colorWithPatternImage:[UIImage imageNamed:@"aa.png"]];
MainInstruction.backgroundColor = bgBlurrcolor.CGColor;