I’m new to Corona, I just created a simple app uses native webview, I wanted to make pull down to refresh, but unable to do so. There is no guide for it, anyone can guide me for this?
Typically web views do not implement a pull to refresh, at least in Safari. Chrome has it, but that’s a native app. If you want to build that kind of browser functionality around the web view you would need to find a way to capture the touch events within the browser control, which will be difficult.
Hmmm… true. Other than pull to refresh, what do you suggest to refresh the webview?
If your interface is a web interface and you’re using Corona to wrap the web component I would suggest considering using Corona objects as the interface (that’s what it’s for) or simply building a pull-to-refresh JavaScript component.
Typically web views do not implement a pull to refresh, at least in Safari. Chrome has it, but that’s a native app. If you want to build that kind of browser functionality around the web view you would need to find a way to capture the touch events within the browser control, which will be difficult.
Hmmm… true. Other than pull to refresh, what do you suggest to refresh the webview?
If your interface is a web interface and you’re using Corona to wrap the web component I would suggest considering using Corona objects as the interface (that’s what it’s for) or simply building a pull-to-refresh JavaScript component.