Warning: file_get_contents(/data/phpspider/zhask/data//catemap/9/ios/119.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Ios 在前面弹出dataDetectorTypes(文本视图)_Ios_Ipad_Textview_Datadetectortypes - Fatal编程技术网

Ios 在前面弹出dataDetectorTypes(文本视图)

Ios 在前面弹出dataDetectorTypes(文本视图),ios,ipad,textview,datadetectortypes,Ios,Ipad,Textview,Datadetectortypes,我有一个主视图和详细视图(ipad)的行分隔符,在触摸文本视图时始终显示stay,这是一种使弹出窗口始终出现在前面的方法吗?谢谢..为此,您必须创建一个UIView并使用 //用于设置警报视图 [[self.view superView] bringSubviewToFront: YOurCreatedView]; [[self.view superView] sendSubviewToBack: YOurCreatedView]; &用于解除警报视图 [[self.view superVi

我有一个主视图和详细视图(ipad)的行分隔符,在触摸文本视图时始终显示stay,这是一种使弹出窗口始终出现在前面的方法吗?谢谢..

为此,您必须创建一个UIView并使用

//用于设置警报视图

[[self.view superView] bringSubviewToFront: YOurCreatedView];
[[self.view superView] sendSubviewToBack: YOurCreatedView];
&用于解除警报视图

[[self.view superView] bringSubviewToFront: YOurCreatedView];
[[self.view superView] sendSubviewToBack: YOurCreatedView];
对于动画,请使用以下方法

[UIView animateWithDuration:0.25 animations:^{
        //     
    } completion:^(BOOL finished) {
        //
    }];
CATransform3D transform3d = CATransform3DMakeScale(1.15, 1.15, 1.15);
cell.layer.transform = transform3d;


//4. Define the final state (After the animation) and commit the animation
[UIView beginAnimations:@"translation" context:NULL];
[UIView setAnimationDuration:0.8];

[[self.view superView] bringSubviewToFront: YOurCreatedView];


YOurCreatedView.alpha = 1;
YOurCreatedView.layer.transform = CATransform3DIdentity;
YOurCreatedView.layer.shadowOffset = CGSizeMake(0, 0);
[UIView commitAnimations];
或以下方法

[UIView animateWithDuration:0.25 animations:^{
        //     
    } completion:^(BOOL finished) {
        //
    }];
CATransform3D transform3d = CATransform3DMakeScale(1.15, 1.15, 1.15);
cell.layer.transform = transform3d;


//4. Define the final state (After the animation) and commit the animation
[UIView beginAnimations:@"translation" context:NULL];
[UIView setAnimationDuration:0.8];

[[self.view superView] bringSubviewToFront: YOurCreatedView];


YOurCreatedView.alpha = 1;
YOurCreatedView.layer.transform = CATransform3DIdentity;
YOurCreatedView.layer.shadowOffset = CGSizeMake(0, 0);
[UIView commitAnimations];