import Appkit framework in iphone Application
i am new in iphone technology , i want to use class NSspeechSynthesizer from Ap开发者_运维百科pkit framework, but when i import this framework in my application , it give 7 error in my application.
please provide me help on this problem.
You can't import AppKit, it is not available on the iPhone, it's an OS X library.
You could check out OpenEars, it supports for text-to-speech for iOS.
The text-to-speech library OpenEars uses is called CMU Flite, and you could install it directly, but the documentation on the CMU Flite site is a bit poor if you are not very experienced.
I would go for OpenEars, because they have a nice script doing most of the work for you.
精彩评论