Custom button not displaying in Today Extension

[亡魂溺海] 提交于 2019-12-08 05:04:32

问题


I have some custom buttons in my host app that I'd like to use in the Today Extension.

They work just fine in the app but do not display in the widget.

The button on the left is my custom button class, the one on the right is a UIButton. If I change it to my custom class it too disappears.

Any thoughts why this might be happening?

----------------------EDIT------------------------

Well, somehow I managed to get it to display but sometimes it's not drawing the whole button and sometimes it's drawing the button incorrectly.

Any help would be appreciated! Thanks

来源:https://stackoverflow.com/questions/28537482/custom-button-not-displaying-in-today-extension

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