开发者

.xib not loading right (iPhone)

For some reason when I load a new view (from a .xib) it'll load the class files, BUT NOT the .xib!!

Here's my code:

login *lo =[[login alloc] initWithNibName:@"login" bundle:nil];
self.log = lo;
UIViewController *loginview = log;
[UIView setAnimationTransition:UIViewAnimationCurveEaseIn forView:self.view cache:YES];
[loginview viewWillAppear:YES];
[self.view removeFromSuperview];
[self开发者_开发知识库 viewWillDisappear:YES];
[self.view insertSubview:loginview.view atIndex:0];
[self viewDidDisappear:YES];
[loginview viewDidAppear:YES];
[UIView commitAnimations];
[log release];


Perhaps this question discusses what you're experiencing? Sorry if I misunderstood your question, it's kind of low on the details.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜