migueldeicaza / MonoTouch.Dialog

Tools to simplify creating dialogs with the user using MonoTouch
MIT License
431 stars 211 forks source link

Pull to Refresh in iOS 7 #190

Closed eduardocoelho closed 10 years ago

eduardocoelho commented 11 years ago

I'm using the native MonoTouch.Dialog support for Pull to Refresh feature on iOS, however since in iOS 7 view controllers can be shown in fullscreen mode (below the navigation bar and status bar) the Pull to Refresh feature stopped working properly.

I tried to play with TableView.ContentOffset and TableView.ContentInset properties in my MonoTouch.Dialog.DialogViewController subclass but I could not find any point of customization. MonoTouch.Dialog.DialogViewController uses a lot of private constants / fields / classes, which makes difficult to extend it.

Full question S.O. link: http://stackoverflow.com/questions/18833945/monotouch-dialog-support-for-pull-to-refresh-in-ios-7

bholmes commented 11 years ago

I have created a pull request for the issue.

https://github.com/migueldeicaza/MonoTouch.Dialog/pull/191

migueldeicaza commented 10 years ago

Tim confirms it works now.