在屏幕ios7之间转换时边缘闪烁 [英] Edge flicker when transitioning between screens ios7

查看:110
本文介绍了在屏幕ios7之间转换时边缘闪烁的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

升级到xcode 5后,我注意到在两个屏幕之间转换时屏幕边缘有一个闪烁。闪烁在框架边缘显示为垂直白线。这似乎只发生在ios7上。

After upgrading to xcode 5, I notice there is a flicker on the edge of the screen when transitioning between two screen. The flicker shows up as a vertical white line on the edge of the frame. This only appears to be happening on ios7.

我在两个屏幕之间的转换是通过故事板segue。

The transition that I have between the two screens is via a storyboard segue.

UPDATE:

我通过添加以下内容解决了这个问题:
self.view.clipsToBounds = YES;
到我的观点。

I fixed the issue by adding: self.view.clipsToBounds = YES; to my views.

推荐答案

我想出了这个问题。我必须在我的视图上将 clipsToBounds 设置为 YES 。这解决了这个问题。

I figured out the issue. I had to set clipsToBounds to YES on my views. This fixes the problem.

这篇关于在屏幕ios7之间转换时边缘闪烁的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆