dequeueReusableCellWithIdentifier error in my UITableView in iOS5

前端 未结 2 2093
误落风尘
误落风尘 2020-12-23 13:49

I am getting this error in iOS 5

-[UITableView dequeueReusableCellWithIdentifier:forIndexPath:]: unrecognized selector sent to instance 0xa217200

2条回答
  •  醉话见心
    2020-12-23 14:13

    Here's why you're getting the error. As per the iOS 6.0 Documentation Set the UITableView Class Reference states that dequeueReusableCellWithIdentifier: is available in iOS 2.0 and later and dequeueReusableCellWithIdentifier:forIndexPath: is available in iOS 6.0 and later.

提交回复
热议问题