[閒聊] 又發現疑似 ios7的bug(UIPickerView)
[productItems selectRow:selectedCategory inComponent:0 animated:YES];
[productItems selectRow:selectedProduct inComponent:1 animated:YES];
原本應該是如下方的圖:
http://cenet.talkce.com/userupload/2013/6/22/image113223410.jpg


也就是它的第二個 component跳不到指定的項目
然而,同一個程式在 ios6以前都是正常的~~~
後來發現,只要把程式改成
[productItems selectRow:selectedCategory inComponent:0 animated:NO];
[productItems selectRow:selectedProduct inComponent:1 animated:NO];
一切正常... 但我要動態效果啊(扭動)
我的程式改完囉~~~(灑花)
--
昔日所為 今日所受
今日所為 明日所受
--
※ 發信站: 批踢踢實業坊(ptt.cc)
◆ From: 61.221.67.175
※ 編輯: Adonisy 來自: 61.221.67.175 (06/22 14:40)
MacDev 近期熱門文章
PTT數位生活區 即時熱門文章