iOS中为view添加点击事件

    xiaoxiao2022-06-22  24

    UITapGestureRecognizer *ui=[[UITapGestureRecognizer alloc]initWithTarget:self action:@selector(alickList)];

        view3.userInteractionEnabled=YES;

        [view3 addGestureRecognizer:ui];

    转载请注明原文地址: https://ju.6miu.com/read-1122941.html

    最新回复(0)