单项选择题
关于UIControl和UIView之间的关系,下面说法正确的是()。
A.UIControl继承于UIView
B.UIView继承于UIControl
C.UIControl与UIView之间没有继承关系
D.UIControl和UIView都是直接继承于UIResponder
点击查看答案
相关考题
-
单项选择题
在给UIButton设置图片时,为了让图片适应按钮的大小,需要将按钮的contentMode设置为:()。
A.UIViewContentModeScaleToFill
B.UIViewContentModeScaleAspectFit
C.UIViewContentModeScaleAspectFill
D.UIViewContentModeCenter -
单项选择题
下面不是标准UIButton类型的是()。
A.UIButtonTypeRoundedRect
B.UIButtonTypeContactAdd
C.UIButtonTypeRadio
D.UIButtonTypeInfoLight -
单项选择题
ARC(Automatic Reference Counting)模式下,下面哪个方法是未被禁用的:()。
A.retain
B.copy
C.release
D.autorelease
