0
我有一個主和詳細視圖(ipad)的分隔線,並保持總是出現時,觸摸一個textview,是一種方式使總是在前面的彈出?謝謝..在前面彈出dataDetectorTypes(Textview)
我有一個主和詳細視圖(ipad)的分隔線,並保持總是出現時,觸摸一個textview,是一種方式使總是在前面的彈出?謝謝..在前面彈出dataDetectorTypes(Textview)
的,你必須創建一個UIView的&使用像,
//對於設置警報查看
[[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];