我希望你能幫助我,並首先對我的英語不好。 我想在iOS的uiwebview中點擊指定點(x/y)。我曾嘗試一些與向uiwebview發送touchesbegan事件
(void)touchesBegan:(NSSet *)touches withEvent:(UIEvent *)event { }
和
(void)touchesBegan:(NSSet *)touches withEvent:(UIEvent *)event { [webview touchesBegan:touches withEvent:event]; }
但我還沒有工作。 uiwebview是uiview的子視圖,我想。
你能幫我嗎?
來自德國的問候。
對不起,沒有意見,因爲位置是在iframe中,我不能改變這些。 但是,謝謝! – user3108818
您是否試圖將重點放在某個元素上? –
你是什麼意思?通過js? – user3108818