1

I am facing a strange issue. I am using revealController to open side menu for that as left view controller, I have placed a tableView.

I have placed UITableView in nib file of iphone and ipad and given IBOutlet to access it. In the viewController file I have given row height by simple line IBtblSideMenu!.rowHeight = IS_IPHONE ? 43 : 114.

Here at this point IBtblSideMenu appears to be found nil. I have connected tableview's delegate and even placed controller's name in class field everything is done and it is perfectly working fine in iOS 8. Issue comes in iOS7 only.

Please help me to resolve. I am not able to find any solution. Thanks in advance

Catalina T.
  • 3,271
  • 16
  • 29
Zalak Patel
  • 1,887
  • 1
  • 22
  • 42
  • did you try to debug it with method called or not? of tableview delegate? is there thirdParty code make any if condition with ios8 or ios7 some thing – Nitin Gohel Apr 22 '15 at 07:01
  • There is third party code of pkreveal controller but i tried to debug as well. It was working perfectly fine before a month – Zalak Patel Apr 22 '15 at 07:07
  • please check related : http://stackoverflow.com/questions/24643522/fatal-error-unexpectedly-found-nil-while-unwrapping-an-optional-values – Nitin Gohel Apr 22 '15 at 07:39
  • @NitinGohel I have checked your given url in that during registering nib or accessing label issue comes but in my case UITableView is not available. It appears nil – Zalak Patel Apr 22 '15 at 08:59
  • Where are you placing the code for the rowHeight? Which method? – Catalina T. Apr 22 '15 at 19:33

0 Answers0