1.PresentVC与RootVC的关系:rootVC的view从window上移除,而presentedVC的view贴在了window上,但rootVC通过presentedViewController属性持有了presentedVC

2. 一般是最外层容器containerVC负责present,childVC的present效果都一样。每个childVC的presetedViewController指向同一个对象,而被presentedVC以及它的childVC的presentingViewController也都指向containerVC

网友评论