我的下拉刷新“功能”有以下代码(刷新 CollectionView
UIRefreshControl *refreshControl = UIRefreshControl.alloc.init;
[refreshControl addTarget:self action:@selector(startRefresh:)
forControlEvents:UIControlEventValueChanged];
[self.collectionView addSubview:refreshControl];
但是,这将使我的应用程序崩溃,并显示以下错误消息:
[CollectionViewController startRefresh:]: unrecognized selector sent to instance 0x7543610
2013-03-24 12:20:10.049
*** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[CollectionViewController startRefresh:]: unrecognized selector sent to instance 0x7543610'
我在这里想念什么?谢谢!