Xcode 4.5 でのUITableViewControllerを継承したクラスでは、initWithStyleメソッドが効かないっぽい。すべてPlainになる。
TableViewController *targetViewController = [[TableViewController alloc] initWithStyle:UITableViewStyleGrouped];
こういう場合は、IBを使った方が確実。
TableViewController *controller = [[[TableViewController alloc] initWithNibName:@"TableViewController" bundle:nil]autorelease];
i-mobileのiPhoneアプリ向け広告
SDK実装時に
[__NSCFString objectFromJSONString]: unrecognized selector sent to instance のエラーが出て広告が表示されない場合
マニュアルと違ったやり方で解決
JSONKit.frameworkではなく、JSONKitのソースコード自体をプロジェクト内にインポート
JSONKit.mのCompiler Flagsに「-ObjC」または「-fno-objc-arc」をつける
これで上記のエラーが解決し、広告が正常に表示されるようになる
SDK実装時に
[__NSCFString objectFromJSONString]: unrecognized selector sent to instance のエラーが出て広告が表示されない場合
マニュアルと違ったやり方で解決
JSONKit.frameworkではなく、JSONKitのソースコード自体をプロジェクト内にインポート
JSONKit.mのCompiler Flagsに「-ObjC」または「-fno-objc-arc」をつける
これで上記のエラーが解決し、広告が正常に表示されるようになる
exception occurred when creating mzcontentproviderupload for provider. (1004)
こんなエラーで止まる場合
Appleのサーバーの一時的なエラーのようです。
しばらくしたらそのまま通過しました。
ここでもそんな風に報告されてる
Failed to submit to the appStore while validation is OK
I try to submit an app to the appStore using xcode 4.3.1.
Validation is ok but when the upload starts I get the following messages:
- Apple's web service operation was not successful
- Unable to authenticate the package: 383327395.itsmp
- Exception occurred when creating MZContentProviderUpload for provider. (1004)
Does anyone already got this and found a solution?
https://discussions.apple.com/thread/3822193?start=0&tstart=0
こんなエラーで止まる場合
Appleのサーバーの一時的なエラーのようです。
しばらくしたらそのまま通過しました。
ここでもそんな風に報告されてる
Failed to submit to the appStore while validation is OK
I try to submit an app to the appStore using xcode 4.3.1.
Validation is ok but when the upload starts I get the following messages:
- Apple's web service operation was not successful
- Unable to authenticate the package: 383327395.itsmp
- Exception occurred when creating MZContentProviderUpload for provider. (1004)
Does anyone already got this and found a solution?
https://discussions.apple.com/thread/3822193?start=0&tstart=0
warning: incomplete implementation of class 'クラス名'
宣言されているメソッドがすべて実装されていない時に出る警告
宣言されているメソッドがすべて実装されていない時に出る警告
