Sephiroth87 / ODRefreshControl

A pull down to refresh control like the one in Apple's iOS6 Mail App
MIT License
2.15k stars 385 forks source link

ODRefreshControl does not work when tableView is not used ? #25

Closed fvisticot closed 12 years ago

fvisticot commented 12 years ago

I would like to use this control without a tableview but with a classical "View". I have added my view in a scrollView and I have initialized the ODRefreshControl with this scrollView.

It does not work.

How to make it work with a view / scrollView ?

Tx

matejkramny commented 12 years ago

Do you mean grouped table view? I have refresh control in grouped view and it works

altimac commented 12 years ago

i use in in a webview and it works as expected. You only need a scrollview!

fvisticot commented 12 years ago

At the begining i had a simple view. I have wrapped the view in a scrollview with interface builder and it does not work for me :(

Sent from my iPhone

On 2 sept. 2012, at 14:38, altimac notifications@github.com wrote:

i use in in a webview and it works as expected. You only need a scrollview!

— Reply to this email directly or view it on GitHub.

Sephiroth87 commented 12 years ago

Did you make sure the scrollView was already allocated when you added the refresh control?

Sephiroth87 commented 12 years ago

Any update on this?

fvisticot commented 12 years ago

Hello, In fact it is working perfectly !

Tx

Sent from my iPhone

On 10 sept. 2012, at 03:05, Fabio Ritrovato notifications@github.com wrote:

Any update on this?

— Reply to this email directly or view it on GitHub.