我有這段代碼我做了什麼錯誤導致xCode中的調試器說@implementation上下文繼承我的代碼下面謝謝如果你能幫我修理正確的方式或建議我應該做有誤差存在就行了TransitionOne「方法定義不在@implementation上下文中」
-(IBAction)Transition1:(id)sender
{
TransitionOne *view2 = [[transitionOne alloc] initWithNicName:@"TransitonOne" bundle:nil];
view2.modalTransitionStyle=UIModalTransitionStyleCoverVertical; // code
[self presentModalViewController:view2 animate:YES];
}
那麼,是@implementation ... @ end'裏面的定義嗎? –
2011-11-12 04:16:40
不是那是它說的錯誤 – nickj890