Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-2770] Scrollviews containing webviews fail to draw under iOS 3.1.3

GitHub Issuen/a
TypeBug
PriorityTrivial
StatusClosed
ResolutionInvalid
Resolution Date2012-07-26T14:43:01.000+0000
Affected Version/sn/a
Fix Version/sn/a
ComponentsiOS
Labelsios, scrollview, webview
ReporterTravelin_G
AssigneeNeeraj Gupta
Created2011-04-15T03:29:04.000+0000
Updated2012-07-26T21:07:04.000+0000

Description

I use scrollableViews to display a series of WebViews. Under iOS 3.1.3 the first screen of the group displays, but then each subsequent screen in the group displays blanks (navbar & paging controls are present) until the user swipes up/down at which time the content pops on.

This is an old issue that I thought had been fixed, but I have a new app in the store and it's still present (user complaints).

Here's the app.js code that builds the ScrollView.

var win = Titanium.UI.currentWindow;
var wv1 = Titanium.UI.createWebView({url:'intro1.html', backgroundColor:'#fdfcdf'});
var wv2 = Titanium.UI.createWebView({url:'intro1a.html', backgroundColor:'#fdfcdf'});
var wv3 = Titanium.UI.createWebView({url:'intro2.html', backgroundColor:'#fdfcdf'});
var wv4 = Titanium.UI.createWebView({url:'intro3.html', backgroundColor:'#fdfcdf'});        
var wv5 = Titanium.UI.createWebView({url:'intro4.html', backgroundColor:'#fdfcdf'});

var scrollView = Titanium.UI.createScrollableView({
    views:[wv1,wv2,wv3,wv4,wv5],
    showPagingControl:true,
    pagingControlHeight:20
    pagingControlColor: [#50](/projects/32238/tickets/50 "Ticket #50")ad43
});
win.add(scrollView);

==========

this bug shows up when run under iOS 3.1.3. It's a backward compatibility issue. 2G's can't go beyond 3.1.3 (and I have a very simple little app that runs fine on a 2G under 3.1).

Any iOS after 3.2 and it's fixed, but compiled apps are marked as compatible needing a minimum iOS of 3.1.3, so it's very possible to release an app that will trigger this in the wild.

==========

More details and source files are available here: http://developer.appcelerator.com/helpdesk/view/63201">http://developer.appcelerator.com/helpdesk/view/63201

Comments

  1. Pedro Enrique 2011-04-15

    I just tested this on an iPhone fisrt generation running 3.1.3 and the following video shows the problem.
    http://gallery.me.com/pedruqui#100015&;bgcolor=black&view=grid" title="Video">Video

  2. Stephen Tramer 2012-07-26

    Ticket says iOS <4.0 only. We no longer support these.

JSON Source