初心者で Objective-C をきちんと理解しておりません。
xCodeにて、静的なライブラリをUniversal Static Library で
作成しているのですが、UIDevice とUIApplicationを利用している
部分で undeclared のエラーが出てしまいます。
具体的には、UIDevice が以下の部分
UIDevice *device = [UIDevice currentDevice];
UIApplication は以下になります。
[[UIApplication sharedApplication] openURL:[NSURL URLWidthString:@"http://xxxxxxxxxxx"]];
※http://xxxxxxxxxxx はURLになります。
どのようにすれば、このエラーを修正することができるのでしょうか?
できましたら具体的にお願いします。
なお、下記ページを参考にしております。
http://cocoadays.blogspot.com/2010/11/ios-static-library-4-universal-static.html
よろしくお願いします。
コメント(0件)