gpt4 book ai didi

iOS - 无法识别 self.refreshControl

转载 作者:行者123 更新时间:2023-11-28 22:28:44 28 4
gpt4 key购买 nike

我有这条线

self.refreshControl = [[UIRefreshControl alloc] init];

但它不被识别,我得到一个编译错误:

property refreshControl not found

我正在学习本教程:

http://www.raywenderlich.com/21081/introduction-to-in-app-purchases-in-ios-6-tutorial

他们提供的代码就好像它应该可以正常工作一样。以及为什么会发生编译错误?

谢谢!

最佳答案

refreshControlUITableViewController 的属性。在 .h 文件中检查 View Controller 的基类类型。

关于iOS - 无法识别 self.refreshControl,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/18115391/

28 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com