iPad を回転させても、アプリケーションが回転しませんでした。
- (BOOL)shouldAutorotateToInterfaceOrientation:(UIInterfaceOrientation)interfaceOrientation
{
// Return YES for supported orientations
return YES;
}
私のアプリケーションでは、アプリケーションの詳細をどこに置くべきかわかりません: MainWindow.xib: そのファイル所有者クラスは、プレースホルダーとオブジェクトの UIApplication です: App Controller そのクラスは App Controller & Painting Window そのクラスは PaintingWindow & Painting ですビューのクラスは PaintingView です
そして私は AppController.h と .m を持っています
@interface AppController : NSObject <UIApplicationDelegate>
私はPaintingWindow.hと.mを持っています
@interface PaintingWindow : UIWindow
私はPaintingView.hと.mを持っています
@interface PaintingView : UIView
この関数はどこに配置すればよいですか?