[AC-2185] WebView problem with Alloy on iPad within SplitWindow
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | n/a |
Status | Closed |
Resolution | Cannot Reproduce |
Resolution Date | 2013-09-26T14:53:32.000+0000 |
Affected Version/s | n/a |
Fix Version/s | n/a |
Components | Alloy |
Labels | alloy, ipad, splitwindow, webview |
Reporter | Richard Shergold |
Assignee | Tony Lukasavage |
Created | 2013-09-18T13:08:12.000+0000 |
Updated | 2016-03-08T07:41:10.000+0000 |
Description
I've been having some problems with a WebView in my first Alloy application. Everything works fine on the iPhone (simulator and device). It's only on the iPad that I have a problem - the difference in the code being that I am using a SplitWindow for the iPad. The WebView work fine in the iPad simulator but on the device itself it is very sluggish and doesn't respond to clicks very well. Sometimes it results in a crash.
Simple Alloy example:
Index.js
$.index.open();
Index.xml
<Alloy>
<SplitWindow id="index" showMasterInPortrait = "true" formFactor="tablet" platform="ios">
<Require src="master"/>
<Require src="detail"/>
</SplitWindow>
</Alloy>
master.xml
<Alloy>
<Window>
</Window>
</Alloy>
detail.xml
<Alloy>
<Window title = "Detail">
<Require src="webViewWin"/>
</Window>
</Alloy>
webViewWin.xml
<Alloy>
<WebView url = "http://www.bbc.co.uk" id="webView"/>
</Alloy>
Creating a very basic equivalent application using the Classic Titanium master-detail template works fine, the webview is fast and responsive and works ok so I can only assume this is alloy related?
I have only tested very briefly so far but this seems to be fixed for iOS 7 builds ?
[~richardshergold] has this then resolved your issue? Can we close this ticket?
It seems the original reporter's issue is resolved through an iOS 7 update