We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
从view-component来看,似乎类型并不可以指定,而只能够使用custom。
UIButton * button = [self buttonWithType:UIButtonTypeCustom]; button.renderer = renderer; [[button buttonAgent] enableEvents]; return button;
但是如果用户想使用systemtype,则没有办法。 如果确实是没有办法的话,是不是考虑指定一个参数,使得用户可以创建systemtype的uibutton.
The text was updated successfully, but these errors were encountered:
应该是可以的,可以考虑通过属性来做,然后根据type走不同的构造函数. <UIButton type="UIButtonTypeSystem"/>
type
<UIButton type="UIButtonTypeSystem"/>
Sorry, something went wrong.
gavinkwoe
No branches or pull requests
从view-component来看,似乎类型并不可以指定,而只能够使用custom。
但是如果用户想使用systemtype,则没有办法。
如果确实是没有办法的话,是不是考虑指定一个参数,使得用户可以创建systemtype的uibutton.
The text was updated successfully, but these errors were encountered: