Safari App Extension Popover menu

With the new Safari App Extension API (discuss here https://developer.apple.com/videos/play/wwdc2016/214/ ) is it possible to resize the popover that is shown when the user clicks the toolbar icon (item)? The menu is shown below.


Replies

Currently, Safari will use Auto Layout to determine the size of the xib that will be shown in it, and not adjust the size of the popover while Safari is running. If you would like to see the ability to dynamically change ths size of a popover, please file a bug at https://bugreport.apple.com explaining why you would like this behavior.

Actually - I was incorrect about this. If you use AutoLayout, the popover should automatically be sized to be the fitting size of your view.


If this isn't working for you, please create a sample project and attach it to a radar at https://bugreport.apple.com (and then reply here with the radar number!).