Editing multiline text with UITextView – JavaScript Injection, part 6

preview_player
Показать описание
In this video we configure our extension so that it sends back JavaScript code to be executed in Safari.

Рекомендации по теме
Комментарии
Автор

Questions? Comments? Tweet me @twostraws.

twostraws
Автор

Is anyone else having a problem with the script.text ?

Xcode is telling me it cannot find "script" in scope on line where I have: let argument: NSDictionary = ["customJavaScript": script.text]

lukas.smetana
Автор

clicking 'done' in textview and nothing is happening alltough everything before eval() function seems working. 🤔

gokhanChn
Автор

Why the done() function didn’t need @objc ?

lucieneventura