iScrollView performance

30 views
Skip to first unread message

Jochem Pouwels

unread,
Dec 10, 2013, 3:56:52 AM12/10/13
to rhom...@googlegroups.com
Hi,
I have been testing iScrollView on my iPhone 5 for a while now. It works great.
But now I have tested it on a iPhone 4 and the framerate is very low when scrolling!

Any tips on how to up the performance?

my erb file looks like this:

<div id="id" data-role="page"data-add-back-btn="true"  >
<div data-id="header" data-position="fixed" data-role="header" data-tap-toggle="false" data-transition="none">
 
<center><h1>TITLE</h1></center>
</div>
<% if System::get_property('platform') == 'APPLE' %>
   
<div data-role="content" data-iscroll>
<% else %>
   
<div  data-role="content">
<% end %>
<div class="providerwrapper">
   
<center> something </center>
   
<hr>
   
<div class="providers">
     
<% @providers.each do |provider| %>
     
<div class="provider">
         <a href="
<%= url_for :action => :index_post, :query => {:provider_id => provider.id}%>">
              <img src="/public/images/provider/
<%= provider.img_url %>" style='max-width: 100%; height: auto;'>
         
</a>
     
</div>
   
</div>
   
<%end%>
</div>
</div>
</div>


Reply all
Reply to author
Forward
0 new messages