iOS:iOS 9上的iPad的TableViewCell背景 [英] iOS: TableViewCell background for iPad on iOS 9

查看:58
本文介绍了iOS:iOS 9上的iPad的TableViewCell背景的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当应用程序在iPad上-在模拟器或iOS 9下的真实设备上运行时,我对TableViewCell的背景感到有些奇怪.

I have some strange situation with background of TableViewCell when app is running on iPads - on simulator or on a real device under iOS 9.

我使用XCode 8.3开发我的应用程序.在iPhone上的应用程序看起来很完美.而且我找不到原因.在装有iOS 9的iPad上,所有TableVies都会发生这种情况.在iOS 10.3中,它可以正常工作.

I use XCode 8.3 for developing my app. On iPhones application looks perfect. And I cannot found the cause. It happenes with all TableVies on iPad with iOS 9. With iOS 10.3 it works with no issues.

这是我的设置:

在装有iOS 10.3的iPad上的外观:

How it looks like on iPad with iOS 10.3:

以及在装有iOS 9的iPad上的外观:

And how it looks like on iPad with iOS 9:

同时在装有iOS 9的iPhone 4S上:

In the same time on iPhone 4S with iOS 9:

有什么区别?

推荐答案

作为 Larme 建议,我更改了背景色对于表格视图单元格的内容视图,它解决了该问题.

AsLarme advised, I have changed background colour for content view of table view cell and it solved the issue.

这篇关于iOS:iOS 9上的iPad的TableViewCell背景的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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