make a dynamic segmented control
2016-10-21 本文已影响0人
四毛哥掉落的鳞片
drag a segmented control into storyboard, make an outlet, then customize, 1. removeall, 2. set titles, 3. set selectedsegment to 0, voila.
http://www.richardhsu.me/posts/2015/01/26/segmented-control.html