I'm using the FindElementsInHostCoordinates method to find elements as the user swipes his finger across the screen. I'm noticing that it is reacting to if the phone was i开发者_Python百科n portrait. For example - As I move my finger up it moves down, and as I move my finger to the right it moves left. It also only does something if I'm in the bottom half of the phone. So I think it if finding the coordinates that I'm hitting in landscape but acting as if I was in portrait. Does anyone know why this is happening?
The host is always in portrait mode by design. However, you can read about a workaround in this blog post.
精彩评论