开发者

UIKit: Is it possible to make a category for UIKeyboard?

开发者 https://www.devze.com 2023-03-14 20:15 出处:网络
I want to make a category on UIKeyboard, but I get the error, \"Cannot find interface declaration for UIKeyboard`. But, when I try to give it an interface declaration, I get a warning that it\'s alrea

I want to make a category on UIKeyboard, but I get the error, "Cannot find interface declaration for UIKeyboard`. But, when I try to give it an interface declaration, I get a warning that it's already defined by开发者_如何转开发 UIKit. What should I do?


There is no public definition for UIKeyboard, hence you cannot add a category to it because adding a category to a class requires access to it's interface header.

0

精彩评论

暂无评论...
验证码 换一张
取 消