开发者

How to get system icons in iOS

I want to use icons like opened/closed folder in my table (UITableView)?

UPD: For example, in J开发者_StackOverflow中文版ava you can get a standard image "folder" and use it in the FileTree:

new DefaultTreeCellRenderer().getDefaultClosedIcon()

And also can use the constants of L&F (colors, styles, icons).

In the iOS, I found only these standard icons. But not folder icons...


I'm not quite sure exactly what you want - the folder icon from iOS? Could you explain a little better?

If it is a folder icon that you want, there's no quick way to get it from code - doing so would use private API's and your app is likely to be rejected from the app store.

If you want something like a folder icon, a good way to get it would be by taking a screenshot of the iPhone simulator and editing it to the right size etc.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜