奇妙なエラーが発生しました。テスト アプリをリリース モードでインストールした後、エラーが発生しました。
[SomeMapView setRotateEnabled:]: unrecognized selector sent to instance 0x1c58ac40
*** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[SomeMapView setRotateEnabled:]: unrecognized selector sent to instance 0x1c58ac40'
Mapview が初期化され、init メソッドで回転を無効にしようとしていました。デバッグモードでは問題なく動作しました。
- (id)initWithFrame:(CGRect)frame
{
self = [super initWithFrame:frame];
if (self) {
// Initialization code
[self setRotateEnabled:FALSE];
[self initDelegate];
}
return self;
}
多分誰かが何が起こっているのか知っていますか?前もって感謝します。