How do I detect if wkwebview wants to open tab or window?

前端 未结 0 1562
囚心锁ツ
囚心锁ツ 2021-02-05 22:26

I\'m developing a macOS web browser. I want to detect if it wants to open a new window or a tab.

I\'ve tried doing this...

if navigationAction.targetFrame?         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题