gpt4 book ai didi

iphone - 三20 “pull down to update” : How to change the text and datetime format?

转载 作者:行者123 更新时间:2023-12-03 19:58:25 25 4
gpt4 key购买 nike

我使用带有 TTURLRequestModel 的 TTTableViewController,并在 ViewController 中使用以下几行实现了“拖动刷新”功能:

- (id<UITableViewDelegate>)createDelegate {
return [[[TTTableViewDragRefreshDelegate alloc] initWithController:self] autorelease];
}

更改显示文本的正确方法是什么?是否也可以更改箭头图标?

谢谢!

最佳答案

我想说,最干净的方法是将 TTTableHeaderDragRefreshViewTTTableViewDragRefreshDelegate 扩展为您自己的类并覆盖 - (void)setStatus :(TTTableHeaderDragRefreshStatus)status 私有(private)函数。

您可以通过更改 Three20 本地化字符串的值和 Three20.Bundle 文件中的更新箭头来“破解”此更改。

关于iphone - 三20 “pull down to update” : How to change the text and datetime format?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/7463718/

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