ios - 这个效果该如何实现
PHP中文网
PHP中文网 2017-04-18 09:05:38
0
1
288


如图,这个菜单效果,置于UITableView 的 Section中,
如果作出这个 菜单的效果呢,商家不同,菜单内容的行数row也不同。

希望能给一个详细点的指导,拜托了!

PHP中文网
PHP中文网

认证高级PHP讲师

reply all(1)
迷茫

First of all, you must have data, right? For example, it contains business data (staple food, dishes, etc.), then it may be a dictionary. The staple food in the dictionary is an array, right, and the dishes are also arrays, right?
Suppose you have three sections now, then don’t you have three arrays, staple food, dishes, and others? How many rows are there in the staple food, that is, how many data are there in the array of your staple food, right?
You should understand it this way.

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!