0
我正嘗試使用Monotouch.Dialog創建MultiLineInputElement。Monotouch.Dialog MultiLineElement
我已將InputElement類中的代碼修改爲使用UITextView,以便它可以工作。
無論我如何強制UITextView的大小超過一行似乎沒有影響它?我認爲這是因爲父行限制了它?
這裏是我到目前爲止的代碼:
我正嘗試使用Monotouch.Dialog創建MultiLineInputElement。Monotouch.Dialog MultiLineElement
我已將InputElement類中的代碼修改爲使用UITextView,以便它可以工作。
無論我如何強制UITextView的大小超過一行似乎沒有影響它?我認爲這是因爲父行限制了它?
這裏是我到目前爲止的代碼:
我這樣做是使用SimpleMultilineEntryElement從https://github.com/xamarin/monotouch-element-pack
貴根元素都UnevenRows設置?即Root.UnevenRows = true; – therealjohn