I have an app where I open and display a variety of files that are downloaded and saved on the device.
I already have the data load into a UIImage, which equates to nil is the file isn't an image, but I'm stuck when it comes to finding out if the file is an audio or video file.
I'm using MPMoviePlayerViewController to play videos, which will quite happily play sound as well, but I'd rather know if there was no video and present by own different interface
Any ideas?