SLComposeServiceViewController
#import <Social/Social.h>
@interface ShareViewController : SLComposeServiceViewController {
но при билде ругается почему-то на _SLComposeServiceViewController
Undefined symbols for architecture x86_64:
"_OBJC_CLASS_$_SLComposeServiceViewController", referenced from:
_OBJC_CLASS_$_ShareViewController in ShareViewController-3a21cfc9d706f43a0a6e6aca8fa99b47.o
"_OBJC_METACLASS_$_SLComposeServiceViewController", referenced from:
_OBJC_METACLASS_$_ShareViewController in ShareViewController-3a21cfc9d706f43a0a6e6aca8fa99b47.o
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
наверно тут надо добавить
Обсуждают сегодня