Today's extension iOS10 Show More/Less

て烟熏妆下的殇ゞ 提交于 2019-12-04 04:24:01

I found the issue.

I had edited the self.preferredContentSize even if the widget was in the compact mode.Just check every time when you update the preferredContentSize if widgetActiveDisplayMode is NCWidgetDisplayModeExpanded

I was having the same issue and then checking out the storyboard I realized that the setting "User Preferred Explicit Size" was enabled.

Disabling that option worked for me.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!