看板 [ MacDev ]
討論串[問題] How to test touchesCancelled:withEvent
共 2 篇文章
首頁
上一頁
1
下一頁
尾頁

推噓0(0推 0噓 0→)留言0則,0人參與, 最新作者wasihero ( )時間13年前 (2012/06/09 20:19), 編輯資訊
0
0
0
內容預覽:
回一下老文章. 我繼承 UITextView 建一個自己的 TextView. 然後接收 touchesXXXXX. 如果按住 TextView. 會先收到 touchesBegan:. 接著就會收到 touchesCancelled:. 此時畫面會變成選取文字狀態. --. 發信站: 批踢踢實

推噓0(0推 0噓 0→)留言0則,0人參與, 最新作者leondemon (狗狗)時間13年前 (2012/04/05 19:33), 編輯資訊
0
0
0
內容預覽:
想問一下要如何在iOS Simulator內測試 `touchesCancelled:withEvent:`. 印象中以前的Simulator中好像有 (嗎?). 有沒有什麼shortcut key可以讓simulator收到`touchesCancelled:withEvent:` ?. --.
首頁
上一頁
1
下一頁
尾頁