私は現在、Xcode SDK iOS 5でiPhone用のラジオアプリケーションを開発していますが、現在Appleが提供しているStichedStreamPlayerの要素を使用しています。私はすべてを試してみました「iGamerFMViewController」型のオブジェクトに を見つけていないプロパティ「表示」 - 私はエラーを取得するプロパティ 'ビュー。タイプ "x"のオブジェクトに見つかりません
appDelegate.m
#import "iGamerFMAppDelegate.h"
@class iGamerFMStreamingViewController;
@implementation iGamerFMAppDelegate
@synthesize window;
@synthesize iGamerFMViewController;
- (void)applicationDidFinishLaunching:(UIApplication *)application
{
//Adds the streaming view controller once finished loading
[window addSubview:iGamerFMViewController.view];
[window makeKeyAndVisible];
}
-(void)dealloc
{
[window release];
[iGamerFMViewController release];
[super dealloc];
}
@end
:私は問題を抱えています問題は、私のコードApplicationDidFinishLaunching
一部ここ
されていますそれを別のプロジェクトからコピー&ペーストするように書き直すことから、それはまだ動作しません。なぜこれが起こっているのか知っていますか?
なぜ.mファイルに@class宣言がありますか? .hファイルをインポートする必要があります。どのようにiGamerFMStreamingViewControllerを初期化していますか? – hwaxxer
あなたは.hを投稿できますか? – Saphrosit
iGamerFMViewControllerはクラスかオブジェクトですか? – sidyll