English 中文(简体)
如何防止接种疫苗 在UITextView(Mono Touch)被利用时的尸体解剖?
原标题:How to prevent UIScrollView from auto-scrolling when UITextView is tapped (MonoTouch)?

我已经实施了一些法典,一旦显示主机,将自动建立UIScrollView 内容Offset,并将涵盖目前进行的积极控制。

For example, if the user taps a UITextView at the bottom of the form, the UIScrollView will be scrolled up so that the entire control is visible.

这都是在用户对另一个UITextView进行控制之前进行的。 此时此刻,《国际仲裁裁决汇编》认为,必须重新提出这一意见,而这种意见是极其令人厌恶的。

I tried what I though was an obvious answer: ShouldScrollToTop. However, that is a somewhat misleading name because it only applies when the the user taps the status bar.

If I set ScrollEnabled to false after the keyboard is displayed, the user can t scroll through the form, which makes it very difficult to work with the form.

我也试图确定内容,既包括形式大小,又包括键盘,但那就没有做任何事情。

All I want to do is prevent the scroll view from automatically scrolling back to the top when another field is tapped. It really should not be this difficult Apple.

最佳回答

当然,在我提出这个问题之后,我鼓励在座标建筑商中进行滚动观,并开始放弃我认为绝对必要的一切。

一旦我放弃“老化动力”后,滚动观点就会自动停止向上。

我决定对此做出回答,如果其他人遇到同样的问题,则留待问题,因为我无法找到任何其他解决办法。

问题回答

我刚刚创建了一子子,试图压倒一切。 最后:

不是UIScroll 我认为,我使用了“IDWeb”号,将其格式化为“CSS”的超文本,仅像“UIScroll”号。 这只是因为我不希望用户能够这样做。

如果你仍然希望它成为不可调和的,我就没有答案。





相关问题
How to configure properties of UIScrollView

I want a UIScrollView in which i have to paste 25 images of same size(256*256). The 13th picture should come in the centre,ie, when the app loades. Then when i swipe right, left, up or down it should ...

WPF - ScrollView Confusion

I am new to WPF and the ScrollViewer is frustrating me. Either I just don t "get" it, or it is a limited control. Here are my Frustrations: Bad Horizontal Scrolling The horizontal scroll bar is ...

Nested UIScrollView-iPhone photos application

I have been facing the same nested UIScrollView problem for long time.I tried some open source codes like Scrolling madness ,three-20 and others but all fails finaly.I am trying to make a photo Viewer ...

Using multiple UIWebViews in a UIScrollView

I am using 5 UIWebViews in a UIScrollView to show the result of my game. Intention is to allow the user to scroll through the results screen. I had a problem where the UIWebViews won t load when ...

热门标签