单项选择题
什么是keywindow?()
A.App中唯一的那个UIWindow对象
B.可以指定一个key的UIWindow
C.可接收到键盘输入等事件的UIWindow
D.不可以隐藏的那个UIWindow对象
点击查看答案
相关考题
-
单项选择题
在没有navigationController的情况下,要从一个ViewController切换到另一个ViewController应该()
A.[self.navigationController pushViewController:nextViewController animated:YES];
B.[self.view addSubview:nextViewController.view];
C.[self pushViewController:nextViewController animated:YES];
D.[self presentModalViewController:nextViewController animated:YES]; -
单项选择题
一个类的delegate(代理)的作用不正确的是()
A.delegate中的函数在其他类中实现
B.主要用于不同类型的对象之间一对一传递消息
C.没有指派则不会触发
D.可以一个对象的delegate指派给多个其他类型的对象 -
单项选择题
使用imageNamed方法创建UIImage对象时,与普通的init方法有什么区别?()
A.没有区别,只是为了方便
B.imageNamed方法只是创建了一个指针,没有分配其他内存
C.imageNamed方法将图片加载到内存中后不再释放
D.imageNamed方法将使用完图片后立即释放
