What is the main advantage of using SFSafariViewController?

I don’t understand correctly what is the main advantage of using SFSafariViewController if we use [[UIApplication sharedApplication] openUrl: strUrl];

What is the difference between both?

+4
source share
1 answer

With SFSafariViewController, you can take advantage of almost all the benefits of viewing web content inside Safari without forcing users to leave your application.

Most applications simply have to provide a generalized web browsing experience. This is the perfect script for a safari viewing controller.

SFSafariViewController , . , , , , .

, Safari. , iCloud . iOS 9, , Safari. SFSafariViewController .

https://code.tutsplus.com/tutorials/ios-9-getting-started-with-sfsafariviewcontroller--cms-24260

+7

Source: https://habr.com/ru/post/1666208/


All Articles