Getting different behavior between iOS simulator and iPhone deploy

533 views Asked by At

After updating from Xcode 7 beta to Xcode 7 beta 2 I've started getting odd behavior in my tableView rows.

A few points to mention:

  • I am not to the stage where I am editing my user interface, everything is set to its initial defaults.
  • I have not changed any of my prototype cell defaults in IB
  • Nor have I changed any table attributes programmatically.
  • My code base has not changed since I upgraded.
  • This is new behavior since the update.

This is from my simulator (everything is fine):

enter image description here

This is from my iPhone (some cells are black): enter image description here

My question is:

Is anyone familiar with this behavior? If so, what can I do to fix this?


note: extra content deleted for clarity; see answer.

1

There are 1 answers

0
Dan Beaulieu On BEST ANSWER

The problem was that Xcode 7 beta 2 was allowing me to deploy to my iPhone with iOS 8 installed on it. Which I've been told by someone in the know, should probably not be possible.

Steps I used to reproduce:

  • Using Xcode 7 beta 2 create a simple project with a tableViewController.
  • deploy the project to iphone 6 simulator (see white background)
  • deploy the project to iphone 6 with iOS 8 (see black background)

My first attempt to deploy to iOS 8, my device was marked as ineligible. I uplugged the device and plugged it back in. It took a bit longer to deploy than usual but when it did, it had a black background to all of my table views.

Solution:

I installed iOS 9 beta 2 on my iPhone 6 and everything works as expected.