KoaPullToRefresh icon indicating copy to clipboard operation
KoaPullToRefresh copied to clipboard

Doesn't play well with navigation bar

Open bodagetta opened this issue 11 years ago • 8 comments

I have a navigation bar on my tableviewcontroller and the default implementation hides the top part of the table under the navbar.

bodagetta avatar Feb 03 '14 04:02 bodagetta

@sergigracia , can you fix this please? It would help us a lot!

tiagojsalmeida avatar Feb 20 '14 20:02 tiagojsalmeida

I also tried SSPullToRefresh and had a similar problem. I got around it by turning off navigation bar transparency. You might want to try the same thing.

bodagetta avatar Feb 20 '14 20:02 bodagetta

@bodagetta , to fix this put this on your viewDidLoad:

if ([self respondsToSelector:@selector(edgesForExtendedLayout)]) self.edgesForExtendedLayout = UIRectEdgeNone;

tiagojsalmeida avatar Feb 20 '14 20:02 tiagojsalmeida

Thanks! I'll try it out

bodagetta avatar Feb 20 '14 20:02 bodagetta

UIRectEdgeNone changes how nav bar opacity works, so it's a work around at best.

farski avatar Mar 06 '14 23:03 farski

@tiagojsalmeida thanks for your solution

czwen avatar Mar 16 '14 04:03 czwen

@tiagojsalmeida thanks for your solution !

superapplestore avatar Jun 11 '14 20:06 superapplestore

@tiagojsalmeida thank you very much!

GabrieleMandalari avatar Jun 26 '14 08:06 GabrieleMandalari