paultopia
May 31, 2018 - 17:12
From the safari share sheet, the following snippet of code
url = appex.get_url()
print(url)
if url is None:
url = clipboard.get()
print(url)
if I just run it straight from a web page in mobile safari, it prints None and None
But if I first copy the url to the clipboard, it prints the URL both times.
Is there some weird multithreading thing happening here? Can't figure out why else this would be happening.