单项选择题
在给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 -
单项选择题
下面方法中,哪一个方法没有创建新的线程()。
A.+(void)detachNewThreadSelector:(SEL)selector toTarget:(id)target withObject:(id)argument;
B.-(id)initWithTarget:(id)target selector:(SEL)selector object:(id)argument;
C.-(void)performSelectorInBackground:(SEL)aSelector withObject:(id)arg;
D.-(void)performSelectorOnMainThread:(SEL)aSelector withObject:(id)argwaitUntilDone:(BOOL)wait;
