这是我的项目:链接
我想将所选视图与类 ViewController 连接起来。但它不起作用。为什么?
It is a UITableViewController. So make your ViewController extending UITableViewController. or drag and drop a UIViewController and write the class.
Go to ViewController.h
It should show :@interface ViewController : UIViewController
Make it : @interface ViewController : UITableViewController
Once you have made this change you will be able to select 'ViewController' in interface builder as the Class.
将类更改为 ViewController (即您发布的图像中视图控制器的类名。)