7 ms·
> iOS 6 already has infrastructure in place to allow for remote view controllers that (in theory) should allow any application to register itself to handle cert
by masklinn 14y ago
> iOS 6 already has infrastructure in place to allow for remote view controllers that (in theory) should allow any application to register itself to handle certain data and events.
For those who want more information on that, http://oleb.net/blog/2012/10/remote-view-controllers-in-ios-6/ http://oleb.net/blog/2012/10/remote-view-controllers-in-ios-... (note: it's a 3-part series).
As far as I understand, it doesn't provide for an application "register[ing] itself to handler certain data and events", which would probably be an extension to UIActivityView and UIActivity[0]. Remove View Controllers provide two features of interest, one of which could work with UIActivity for sharing:
* An application or framework providing views to an other one (said view could be invoked by a UIActivity of some sort, so that the Facebook application would provide a "Share on Facebook" remote view and the corresponding activity, a sharing application would invoke the activity view, then display the correct remote view upon selection by the user)
* Isolated cross-process communication between the embedding application and the embedded view, which allows different security settings (and thus things like JIT-ed UIWebView, or more simply a twitter remote viewcontroller being able to use the data the Twitter app has access to without leaking it to third parties)
[0] http://oleb.net/blog/2012/09/the-state-of-sharing-in-ios-6/ http://oleb.net/blog/2012/09/the-state-of-sharing-in-ios-6/
- nicholassmith 14y agoInterestingly it seems like Apple is doing something with remote view controllers with their 12 Days of Christmas app, which could imply they're trying to test it as much as possible in a live context.
- masklinn 14y agoOh? Do you have more info on that?
- nicholassmith 14y agoUnfortunately not, I'll do some digging on it tomorrow when I have time.
- masklinn 14y agoI would be interested, and I'm sure others would be as well.
- nicholassmith 14y agoI ended up coming down with a cold/flu bug so I was a bit useless and missed the opportunity. My quick notes on it basically go along the lines of: - 12 Days App remains constant, no outward transition to other app, 12DA is last in tray, normal application switch over/switch back as seen with Facebook auth etc leaves app as 'used' in tray. - Remote views seem to be getting called as downloads are instantly in store apps on that device, not globally on all devices that can pull them, writing off a trick with the 'download content' settings. - Not web views as capable of accessing local stored credential for itunes account, unless apple has begun exposing that in some specific and bizarre way. Wish I hadn't been sick, my plan was to watch the processes to see if they were running something like the mail composition one, or whether it was getting done like the Facebook one.