UIVideoAtPathIsCompatibleWithSavedPhotosAlbum generates error implicit declaration of function, why?
Posted
by just_another_coder
on Stack Overflow
See other posts from Stack Overflow
or by just_another_coder
Published on 2010-05-18T18:37:58Z
Indexed on
2010/05/18
18:40 UTC
Read the original article
Hit count: 304
iphone
In my project I am trying to save video to the iPhone after being taken by the camera.
When I call the method:
UIVideoAtPathIsCompatibleWithSavedPhotosAlbum(path)
It reports the error:
Implicit declaration of function 'UIVideoAtPathIsCompatibleWithSavedPhotosAlbum'
I've imported MobileCoreServices/UTCoreTypes.h
I was previously using this same code for saving camera pictures, and it worked fine.
In another class, in the same project, I am able to reference the UIKit method:
UIImagePNGRepresentation()
without any problems
So why does it give me this error?
© Stack Overflow or respective owner