ios - 插入 View Controller 时动画出现抖动

标签 ios objective-c

为了推送 View Controller ,我使用了以下代码。点击 UITableViewCell 需要推送 DetailViewController

- (void)tableView:(UITableView *)tableView didSelectRowAtIndexPath:(NSIndexPath *)indexPath
{
    if (indexPath.row)
    {
        NSDate *object = self.objects[indexPath.row];
        DetailViewController *controller = [DetailViewController new];
        [self.navigationController pushViewController:controller animated:YES];
    }
}

现在的问题是我在制作动画时出现了一个 SCSS 。引用截图

enter image description here

最佳答案

这是因为透明度。只需为您的 View Controller 设置背景颜色。就这样。

关于ios - 插入 View Controller 时动画出现抖动,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/30098922/

相关文章:

ios - 不兼容的操作数类型 ('NSUInteger'(又名 'unsigned long')和 'id _Nullable')

ios - 如何检查 NSarray 中的字符串是否正在更改

objective-c - 将 google api 与 iphone sdk 集成时出错

ios - 在 objective-c 中进行字符串编码

objective-c - 生成 NSArray 元素的排列

ios - 从一个导航 Controller 更改为另一个

ios - 动态自定义 TableView Cell swift

ios - 执行 Segue 在 iOS 10 中崩溃

ios - 如何缩短 "delayTouchesBegan"delays touchesBegan 的时间?

ios - ScrollView 手势识别器吃掉所有的触摸事件