168

I am receiving this warning in the debugger console when I launch my app on iPad Xcode 7 beta 6. There was no such warning till Xcode 6. I don't understand why it may have come and that too, only on iPad.

According to an Apple forum thread it could be a bug from Apple's side. Has anyone found a solution for this?

Charles A.
  • 10,685
  • 1
  • 42
  • 39
StudentX
  • 2,506
  • 5
  • 19
  • 28
  • 2
    Just wanted to let you know that the same bug occured to me when launching a custom keyboard on the iPad – borchero Sep 13 '15 at 18:44
  • Has this been resolved in the GM ? – DogCoffee Sep 15 '15 at 23:05
  • No I am still getting the warnings in GM – StudentX Sep 16 '15 at 12:34
  • 4
    I have this warning when presenting modal `UIActivityViewController.` – Boris Y. Sep 17 '15 at 14:58
  • 3
    Just migrated to Xcode 7 and I have the same warning as soon as a UITextView becomes first responder... – PatrickV Sep 17 '15 at 23:32
  • 22
    I have this pop-up when a `UITextField` has to `becomeFirstResponder`, the time the textField needs to actually becomeFirstResponder is also increased significantly. – Jasper Sep 18 '15 at 13:10
  • Same issue. It only seems to appear on the iPad for me. And yes the lag for the keyboard to become first responder is ridiculously long. It doesn't even happen some times. – jmr1706 Sep 19 '15 at 05:39
  • Having same problem when presenting `UIActivityViewController`. Only occurs on iOS9 iPads. iOS8 is fine and iPhones are fine. – nurider Sep 21 '15 at 18:47
  • @StudentX Have you solved this problem? – iDhaval Sep 29 '15 at 04:35
  • No unfortunately not.. plus I'm looking into other issues my application has, so I'm occupied with those.. – StudentX Sep 29 '15 at 06:38
  • Any luck solving this ? , I'm on Xcode 7 and it only occurs on iPad when presenting the keyboard. I'm not using any external libraries. – ahmad Oct 03 '15 at 12:31
  • 3
    See [this SO Question](http://stackoverflow.com/questions/32775575/catransformlayer-0x14fea3710-changing-property-maskstobounds-in-transform-o) - looks like a bug and logged with Apple as such. – Ali Beadle Oct 19 '15 at 15:26
  • I've got the same problem, only 3x... and I can't see what's causing it... will have to spend some time on it when I have some time... :-{ – SpokaneDude Oct 30 '15 at 02:13
  • If you do not interact using the keyboard (i.e, if you use the trackpad or the mouse only), this warning is not happening. Was using Cmd+Q to quit the simulator from a particular ViewController and this happened whenever i was doing it. Instead, i tried with the Simulator->Quit option using mouse and this did not show up. Its a bug. – Sri Nov 01 '15 at 02:22

5 Answers5

24

In order to get rid of this error un check clip to bounds option and put scale to fill to view to all view,UIStackView you have used in your project.

Amit Verma
  • 427
  • 4
  • 6
11

This is a bug in iOS, and still exists in the latest version, iOS 9.1. If you're reading this, please do us all a favor and file a bug report with Apple.

You may duplicate my radar (id: 23666339), which can be viewed on Open Radar here: https://openradar.appspot.com/23666339

The bug causes the keyboard to take forever to appear, and exists only on iPad as well as the iPad simulators.

UPDATE: This issue has been resolved as of iOS 9.2 (13C75).

T Blank
  • 1,408
  • 1
  • 16
  • 21
9

It could happen because you changed drawing attribute of the StackView:

enter image description here

when I set clips to bounds to true I get this warning

1

In case anybody is facing this issue because of a UIStackView in iOS 14, please check out this article:

https://useyourloaf.com/blog/stack-view-background-color-in-ios-14/

Long story short:

In iOS 14, UIStackView has changed from using a CATransformLayer to using a CALayer. I saw this first mentioned by Renaud Lienhart (@layoutsubviews) and then confirmed by David Duncan (@rincewindsama). This change is not (yet) mentioned in any release note or documentation (bug report FB8363575).

0

Problem Warning -> <CATransformLayer: 0x600000946e40> - changing property masksToBounds in transform-only layer, will have no effect

Solution = Simply uncheck the clip to bound from UIstackview box.

enter image description here