Discussion Forums  >  Plugins, Customizing, Source Code

Replies: 4    Views: 35

AlanMac
Aspiring developer
Profile
Posts: 2612
Reg: Mar 05, 2012
Esher, UK
37,120
02/16/15 06:12 AM (9 years ago)

RD RSS Rotation issue

I have noticed that if I rotate my iPhone from portrait to landscape, then back again from landscape to portrait, the story content for the stories that were displayed in landscape is shuffled up a few pixels. This makes for a visual clash with the title. Not a lot, but the effect does not look great. https://db.tt/hTY5jQ7L Not quite sure what is going on, has anyone else come across this? I'm hoping there is an easy answer. Thanks in advance, Alan
 
AlanMac
Aspiring developer
Profile
Posts: 2612
Reg: Mar 05, 2012
Esher, UK
37,120
like
02/26/15 05:30 AM (9 years ago)
It seems to have something to do with the amount of description text. I've also noticed that this problem doesn't seem to happen on the iPad.
 
jordanko
I hate code!
Profile
Posts: 21
Reg: Nov 07, 2011
Miami
210
like
02/28/15 09:55 PM (9 years ago)
I have the same issue. Have you found a fix?
 
AlanMac
Aspiring developer
Profile
Posts: 2612
Reg: Mar 05, 2012
Esher, UK
37,120
like
03/01/15 03:23 AM (9 years ago)
I also found that if you can display all the description text in portrait, e.g. by adjusting the row height and font sizes, you don't see the problem. I referred it to @Red Dog, (plugin author) who suggested tweaking the row height and description font sizes. I got it so that the description text is now cropped by the dividing line in portrait, but it it did fix the rotation issue as when you switch back to portrait from landscape it looks the same. A bit of a compromise though.
 
Niraj
buzztouch Evangelist
Profile
Posts: 2943
Reg: Jul 11, 2012
Cerritos
37,930
like
03/01/15 08:49 AM (9 years ago)
Best solution would be to implement auto adjust heights for the table cells. With iOS 7/8, I think there is an easy way to get that done. Let's research together ... :-) Tyler Tillage has a nice iOS8-only tutorial that is meant for Swift, yet easily translates to ObjC. http://captechconsulting.com/blog/tyler-tillage/ios-8-tutorial-series-auto-sizing-table-cells Ray Wenderlich has an iOS7 and iOS8 capable solution. Storyboards are used in that tutorial, which can be translated into the code equivalents. http://www.raywenderlich.com/73602/dynamic-table-view-cell-height-auto-layout -- Niraj
 

Login + Screen Name Required to Post

pointerLogin to participate so you can start earning points. Once you're logged in (and have a screen name entered in your profile), you can subscribe to topics, follow users, and start learning how to make apps like the pros.