相关考题
-
单项选择题
什么是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指派给多个其他类型的对象
