大家好,我写了一个类,没有继承UIViewController,继承了自定义类,所以下面的跳转代码实效:ProductsReservationViewController * productsList = [ProductsReservationViewController alloc];
[self.navigationController pushViewController:productsList animated:YES];
[productsList release];
提示错误信息:Property 'navigationController' not found on object of type 'ProductsDetailsCell'请问有其他方式可以实现,跳转到另外一个ViewController吗?谢谢。
[self.navigationController pushViewController:productsList animated:YES];
[productsList release];
提示错误信息:Property 'navigationController' not found on object of type 'ProductsDetailsCell'请问有其他方式可以实现,跳转到另外一个ViewController吗?谢谢。
比如你要推进到一个PlayHistoryViewController这个页面,首先在引用文件#import "PlayHistoryViewController.h"然后再你的推进方法里这样写PlayHistoryViewController *pPlayHistory = [[PlayHistoryViewController alloc] init];
[self.view presentModalViewController:pPlayHistory animated:YES]
[pPlayHistory release];
self.view 提示not found view