I am in the middle of migrating libraries to the Unified API, most stuff translates very easily. However, now I am hitting a wall.
I have a
UIViewController displaying a
UIWebView, which is used for logging in with Azure Access Control services. When it hits a certain schema it should parse it and notify back that it got the returned token from ACS, otherwise create a new
NSUrlConnection which navigates the
The problem occurs with the
NSUrlRequest, which requires an instance of
INSUrlConnectionDelegate, where prior to the Unified API I was using
Udating my library to Unified API a couple of methods I was using before are missing. Namely
ReceivedData(NSUrlConnection, NSData) and
FinishedLoading(NSUrlConnection). What do I do now?
The code can be seen here, haven't yet pushed the Unified API changes: https://github.com/Cheesebaron/Cheesebaron.MvxPlugins/blob/master/AzureAccessControl/AzureAccessControl.Touch/Views/AccessControlWebAuthController.cs#L131