I know you could merge multiple clips and create a single video by appending one after other using AVFoundation classes- AVURLAsset, AVMutableComposition, AVMutableComposit
i found this link when im trying to do the same thing , But for me its not side by side , its video top of another video, You can do the same thing by this link