iPhone Dev:创建自己的索引 [英] iPhone Dev: Create own index

查看:144
本文介绍了iPhone Dev:创建自己的索引的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我目前有两个问题我,都是关于UITableView的索引

I currently got two problems I, both about the index of a UITableView


  1. 我想改变一些section-tags的颜色在索引中,以显示此部分中有新的更改。

  2. 我需要将索引放在表的左侧,这样它就不会干扰详细信息披露按钮

有没有办法用标准索引实现这一点?如果没有,是否可以使用自定义索引?我怎么会意识到这样的事情并且苹果会容忍它?

Is there a way to realize this with the standard-index? And if not, is it possible with a custom index? How would I realize such a thing and would apple tolerate it?

推荐答案

不可能改变索引行的颜色。将索引向左移动也是不可能的。但是你可以使用TableViev的内容偏移属性来缩小单元格,这样索引就不会干扰详细信息披露按钮。

It is not possible to change color of index's rows. It is also impossible to move index to the left. But you can use TableViev's content offset property to narrow cells so index won't interfere with detail disclosure Button.

这篇关于iPhone Dev:创建自己的索引的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆