13

Running an analysis on my app results in the logical error in the subject. I don't really know what that means. Below is a screen of the error:

enter image description here

niton
  • 8,771
  • 21
  • 32
  • 52
Diferdin
  • 1,252
  • 1
  • 14
  • 30

1 Answers1

34

The path it's showing you is super returning nil. If this happens, you continue to execute the method; the implicit self deference is because isShowingLandscapeView is an instance variable. You need to put all your initialisation inside the if (self) block to avoid this.

Adam Wright
  • 48,938
  • 12
  • 131
  • 152