- Use the full screen presentation mode.
- Dim the web view a little whilst it is loading.
- Fix
didReceiveServerRedirectForProvisionalNavigation
not being called.
- Cleaned up the example projects
- Separated the delegate initialization to help with state restoration.
- Fixed a bug with javascript popups.
- Update to Swift 4.2
- WKWebView is not restoring the scroll position propperly after reloading the page when the web view is under the navigation bar and when large titles are used. This is the recommended configuration. For this reason, it's best not to use large titles at the moment, so we've put the refresh controll in the web view instead of in the large title navigation bar.
createNewWebViewController(url: URL)
now includes the URL as a parameter which needs to be set on the view controller.
- Remove the NeemanSettings.
- Refactored some code out of the WebViewController.
- Update the examples for swift 4.0.
- Improved the pull to refresh bahaviour with the iOS 11 navigation bar.
- Improved network activity handling for UI testing.
- Added "Mobile/" to the user agent. I found a javascript library that, however ill-advised, was assuming the existance of this to detect iOS.
- Now using Swift 4
- Improved network activity handling.
- Removed FastClick.
- Add the app's version to the user agent.
- Now using Swift 3
- Supports printing using window.print()
- Allow alert() from subdomains.
- Decoupled the
WebViewController
'screateNewWebViewController
so we can override it to create view controllers that don't extendWebViewController
. - Implemented state restoration.
- Changed
shouldForcePushOfNewNavigationAction
toshouldForcePushOfNavigationAction
for consistency. - Inject an HTML class that is specific to the version of the app. i.e.
neeman-hybrid-app-version-[version]
.
- Change delegate methods to use the navigation action instead of just the request.
- Changed Settings to NeemanSettings to reduce the likelihood of a naming clash.
- Fixed a bug that was breaking the unit tests.
- Fixed a bug where the
shouldPushNewWebViewForRequest
delegate method was not always called. - Updated to swift 2.2 syntax.
- Made
activityIndicator
andprogressView
public so they can be overridden.
- Changed
rootAbsoluteURLString
toabsoluteURLString
. - Cleaned up the reloading on viewWillAppear by adding a
shouldReloadOnViewWillAppear
method that can be overridden. - Disallow .Other navigationActions to prevent an infinite loop of navigations.
- Added better http error messages.
- Added a delegate method to cancel a navigation.
- Made the refresh method public.
- Changed the class that is added to the HTML tag to indicated that the page is inside a Neeman web view, from 'hybrid' to 'neeman-hybrid-app'.
- Fixed a bug with the delegate method for preventing a navigation stack push.
- Changed
shouldForcePushOfNewWebView(request: NSURLRequest)
toshouldForcePushOfNewRequest(request: NSURLRequest)
.
- Changed
rootURLString
toURLString
. - Fixed some bugs.
- Added a basic example.
- Support Carthage: Include the resources in the framework build.
- Remove some CSS that was specific to Intellum projects.
- Included more detail about how to inject javascript and CSS.
- Cleaned up the example project a bit.