¡@

Home 

2014/10/15 ¤U¤È 10:05:23

iphone Programming Glossary: composition

iphone app send email

http://stackoverflow.com/questions/1494626/iphone-app-send-email

of the above class and provide a workaround for devices running earlier versions of the iPhone OS. We display an email composition interface if MFMailComposeViewController exists and the device can send emails. We launch the Mail application on the device.. else self launchMailAppOnDevice else self launchMailAppOnDevice void displayComposerSheet Displays an email composition interface inside the application. Populates all the Mail fields. MFMailComposeViewController picker MFMailComposeViewController.. controller didFinishWithResult MFMailComposeResult result error NSError error Dismisses the email composition interface when users tap Cancel or Send. Proceeds to update the message field with the result of the operation. message.hidden..

AVFoundation + AssetWriter: Generate Movie With Images and Audio

http://stackoverflow.com/questions/5640657/avfoundation-assetwriter-generate-movie-with-images-and-audio

how to use a AVMutableComposition to use the image array for video export iphone avfoundation avassetwriter avmutablecomposition share improve this question I ended up exporting the video separately using the above code and added the audio files.. code void addAudioToFileAtPath NSString filePath toPath NSString outFilePath NSError error nil AVMutableComposition composition AVMutableComposition composition AVURLAsset videoAsset AVURLAsset URLAssetWithURL NSURL fileURLWithPath filePath options.. NSString filePath toPath NSString outFilePath NSError error nil AVMutableComposition composition AVMutableComposition composition AVURLAsset videoAsset AVURLAsset URLAssetWithURL NSURL fileURLWithPath filePath options nil AVAssetTrack videoAssetTrack..

Make movie file with picture Array and song file, using AVAsset

http://stackoverflow.com/questions/6061092/make-movie-file-with-picture-array-and-song-file-using-avasset

file. To do this follow my code void CompileFilesToMakeMovie AVMutableComposition mixComposition AVMutableComposition composition NSString audio_inputFileName @ deformed.caf NSString audio_inputFilePath Utilities documentsPath audio_inputFileName NSURL.. options nil CMTimeRange video_timeRange CMTimeRangeMake kCMTimeZero videoAsset.duration AVMutableCompositionTrack a_compositionVideoTrack mixComposition addMutableTrackWithMediaType AVMediaTypeVideo preferredTrackID kCMPersistentTrackID_Invalid a_compositionVideoTrack.. mixComposition addMutableTrackWithMediaType AVMediaTypeVideo preferredTrackID kCMPersistentTrackID_Invalid a_compositionVideoTrack insertTimeRange video_timeRange ofTrack videoAsset tracksWithMediaType AVMediaTypeVideo objectAtIndex 0 atTime..

How to combine video clips with different orientation using AVFoundation

http://stackoverflow.com/questions/6575128/how-to-combine-video-clips-with-different-orientation-using-avfoundation

using AVFoundation. I can create a single video using AVMutableComposition using the code below AVMutableComposition composition AVMutableComposition composition AVMutableCompositionTrack compositionVideoTrack composition addMutableTrackWithMediaType.. a single video using AVMutableComposition using the code below AVMutableComposition composition AVMutableComposition composition AVMutableCompositionTrack compositionVideoTrack composition addMutableTrackWithMediaType AVMediaTypeVideo preferredTrackID.. using the code below AVMutableComposition composition AVMutableComposition composition AVMutableCompositionTrack compositionVideoTrack composition addMutableTrackWithMediaType AVMediaTypeVideo preferredTrackID kCMPersistentTrackID_Invalid AVMutableCompositionTrack..