migueldeicaza / MonoTouch.Dialog

Tools to simplify creating dialogs with the user using MonoTouch

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Pull to Refresh in iOS 7

eduardocoelho opened this issue · comments

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

I have created a pull request for the issue.

#191

Tim confirms it works now.