Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我有 6 个手势识别器,每个手势识别器都与 ScrollView 内的 UIView 对象相关联,我想知道在识别手势时如何更改每个视图的索引。我应该更改每个 UIView 对象的索引还是可以从识别器对象本身更改索引?
感谢您的答复。
当你得到一个手势时,只需调用
[self.view bringSubviewToFront:gesture.view];
或者类似的东西,我不知道你的确切层次结构