Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

vetoes

macrumors regular
Original poster
Oct 16, 2017
144
36
I just noticed that when previewing links in Apple email client and Safari I’m not logged in. I thought that Safari View Controller is Safari itself and have access to website information like my password and cookies. Did I misunderstood how Safari View Controller works or is that a bug?
 
A View Controller is likely a HTML rendering component. A quick Google shows it to use WKWebView, so essentially WebKit which is not Safari (just a small part that handles rendering). Many browsers use WebKit for rendering.

For iOS (and likely Mac as well): https://webkit.org/blog/7016/ios-10-link-preview-api-in-wkwebview/
Mail uses WebKit to display rich HTML content, but it is not a web browser, so link navigation is always handed over to Safari.

I imagine a preview is lightweight by design, so it doesn't load Safari and its extensions, cookies, autofill, etc. for every single preview. That would be terrible on battery life and the people still using mechanical hard drives would wonder why everything keeps freezing.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.