在應用程序:didFinishLaunchingWithOptions:方法期間,我收到「wait_fences:無法接收回復:10004003」。wait_fences:未能收到回覆:10004003 - 在應用程序中:didFinishLaunchingWithOptions:
我有子類UIWindow並重寫了引起錯誤的drawRect方法。然而,我不知道錯誤是想告訴我什麼,它爲什麼發生以及如何解決它。
- (BOOL) application:(UIApplication*)application didFinishLaunchingWithOptions:(NSDictionary*)launchOptions {
window_ = [[OoviumWindow alloc] initWithFrame:[[UIScreen mainScreen] bounds]];
[window_ makeKeyAndVisible];
controller_ = [[AetherController alloc] init];
[window_ setRootViewController:controller_];
return YES;
}
@implementation OoviumWindow
- (id) initWithFrame:(CGRect)rect {
if (self = [super initWithFrame:rect]) {
_image = [[UIImage imageNamed:@"Default-Portrait.png"] retain];
}
return self;
}
// UIWindow ======================================================================================
- (void) drawRect:(CGRect)rect {
[_image drawInRect:_rect blendMode:kCGBlendModeNormal alpha:.05];
}
@end
[「wait_fences:failed to receive reply:10004003」?](http://stackoverflow.com/questions/1371346/wait-fences-failed-to-receive-reply-10004003) – bbum