한 줄의 코드에서 오류를 찾으려고 시도했습니다. 주석 처리 된 예상 된 식별자 오류를 반환합니다.예상되는 식별자
오류를 찾으 셨나요? 고맙습니다.
죄송합니다. 잘못된 코드 형식입니다. 바로 여기에서 그것을 얻는 방법을 모른다.
#import "BIDAppDelegate.h"
#import "BIDSwitchViewController.h"
@implementation BIDAppDelegate
@synthesize window = _window;
@synthesize switchViewController;
- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions
{
self.window = [[UIWindow alloc] initWithFrame:[[UIScreen mainScreen] bounds]];
// Override point for customization after application launch.
self.switchViewController = [[BIDSwitchViewController alloc]
initWithNibName:@"Switch View"
bundle:nil];
UIView *switchView = self.switchViewController.view;
CGRect switchViewFrame = switchView.frame;
switchViewFrame.origin.y += [[UIApplication sharedApplication].statusBarFrame.size.height; // Expected identifier
switchView.frame = switchViewFrame;
[self.window addSubview:switchView];
self.window.backgroundColor = [UIColor whiteColor];
[self.window makeKeyAndVisible];
return YES;
}
은 {}를하자 형식 코드입니다. 그리고 당신은해야 할 일이 있습니다. 왜냐하면 당신이 무슨 이야기를하고 있는지 모르기 때문입니다. –