이렇게 모든 일이 잘 진행되고 내 앱이 거의 완료되었습니다. iOS 시뮬레이터에서 실행하려고 변경하지 않았습니다. 내 iPhone에서 다시 시도 할 때 화면이 시작 이미지 후에 검은 색으로 변합니다! 그리고 xcode에 어떤 오류도 발생하지 않습니다.iPhone 화면이 시작한 후 검은 색으로 변합니다.
iOS 시뮬레이터를 재설정 (재설정 만)하고, Macbook을 다시 시작하고, iPhone을 다시 시작하고, 홈 화면에서 앱을 삭제 한 다음 다시 설치하려고했습니다. 내 아이폰에 아이폰 OS 6
건물의 5
AppDelegate.h
//
// AppDelegate.h
//
//
// Created by Øyvind Larsen Runestad on 13.01.13.
// Copyright (c) 2013 Øyvind Larsen Runestad. All rights reserved.
//
#import <UIKit/UIKit.h>
@interface AppDelegate : UIResponder <UIApplicationDelegate> {
IBOutlet UITabBarController *tabBarController;
}
@property (strong, nonatomic) UIWindow *window;
@property(nonatomic, readonly) UITabBarController *moreNavigationController;
@end
AppDelegate.m
//
// AppDelegate.m
//
//
// Created by Øyvind Larsen Runestad on 13.01.13.
// Copyright (c) 2013 Øyvind Larsen Runestad. All rights reserved.
//
#import "AppDelegate.h"
@implementation AppDelegate
- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions
{
// Override point for customization after application launch.
return YES;
}
- (void)applicationWillResignActive:(UIApplication *)application
{
// Sent when the application is about to move from active to inactive state. This can occur for certain types of temporary interruptions (such as an incoming phone call or SMS message) or when the user quits the application and it begins the transition to the background state.
// Use this method to pause ongoing tasks, disable timers, and throttle down OpenGL ES frame rates. Games should use this method to pause the game.
}
- (void)applicationDidEnterBackground:(UIApplication *)application
{
// Use this method to release shared resources, save user data, invalidate timers, and store enough application state information to restore your application to its current state in case it is terminated later.
// If your application supports background execution, this method is called instead of applicationWillTerminate: when the user quits.
}
- (void)applicationWillEnterForeground:(UIApplication *)application
{
// Called as part of the transition from the background to the inactive state; here you can undo many of the changes made on entering the background.
}
- (void)applicationDidBecomeActive:(UIApplication *)application
{
// Restart any tasks that were paused (or not yet started) while the application was inactive. If the application was previously in the background, optionally refresh the user interface.
}
- (void)applicationWillTerminate:(UIApplication *)application
{
// Called when the application is about to terminate. Save data if appropriate. See also applicationDidEnterBackground:.
}
@end
사람은이 문제에 대한 해결책이 있습니까?
감사합니다. Øyvind Larsen Runestad.
EDIT : SOLVED! 좋아
, 내가 그것을 밖으로 분류. 프로젝트의 메인 스토리 보드는 공백으로 설정되었습니다. 이 작업을 MainStoryboard로 변경하면됩니다. 내 AppDelegate에 모든 @의 H2CO3 후 괜찮처럼
가 보인다,이 정말이 실제 코드
일부 코드/스펙을 보지 않고도이 작업을 도와 드릴 수 있습니다. 어떤 iOS를 구축하고 있으며 앱 위임 방법을 보여줄 수 있습니까? –
인터페이스 빌더 연결을 확인하십시오 –
업데이트 된 게시물. 무슨 연관이 있니? –