Skip to content

Commit

Permalink
Remove the delegate entirely, and add a changenote.
Browse files Browse the repository at this point in the history
  • Loading branch information
freakboy3742 committed Sep 19, 2023
1 parent 62793ad commit 47d5d75
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 4 deletions.
1 change: 1 addition & 0 deletions changes/2127.misc.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
A misspelled delegate assignment was removed from the iOS and Cocoa Webkit implementations.
2 changes: 0 additions & 2 deletions cocoa/src/toga_cocoa/widgets/webview.py
Original file line number Diff line number Diff line change
Expand Up @@ -55,9 +55,7 @@ def create(self):
#
# from the command line.
self.native.inspectable = True

self.native.navigationDelegate = self.native
self.native.UIDelegate = self.native

self.loaded_future = None

Expand Down
2 changes: 0 additions & 2 deletions iOS/src/toga_iOS/widgets/webview.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,9 +46,7 @@ def create(self):
# Enable the content inspector. This was added in iOS 16.4.
# It is a no-op on earlier versions.
self.native.inspectable = True

self.native.navigationDelegate = self.native
self.native.UIDelegate = self.native

self.loaded_future = None

Expand Down

0 comments on commit 47d5d75

Please sign in to comment.