# Chapter 44, Landscape. page1237

**URL:** <https://forums.kodeco.com/t/chapter-44-landscape-page1237/97531>\
**Category:** iOS Apprentice\
**Created:** [February 9, 2020, 9:38am UTC](https://forums.kodeco.com/t/chapter-44-landscape-page1237/97531 "2020-02-09T09:38:00Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![zoran](https://assets.chunter.kodeco.com/user_avatar/forums.kodeco.com/zoran/32/102075_2.png) [@zoran](https://forums.kodeco.com/u/zoran)\
**Post date:** [February 9, 2020, 9:38am UTC](https://forums.kodeco.com/t/chapter-44-landscape-page1237/97531/1 "2020-02-09T09:38:00Z")

</div>

ok, I’m lost here. what am I doing wrong?

everything is working fine, I have typed in the additional viewDidLoad() code as noted (numerous times). I have also cut and pasted from the final code supplied with publication in case I’m just typing something stupid. added the other code on following pages… no variations, exactly as noted, and also cut and pasted from supplied code. I have also followed through all the warnings. but no matter what I do I can’t get past this run point as I always get “error on line 23”

23 pageControl.removeConstraints(pageControl.constraints)

stating,

**Fatal error: Unexpectedly found nil while implicitly unwrapping an Optional value: file /Users/…/StoreSearch/StoreSearch/LandscapeViewController.swift, line 23**

**(lldb)**

---

<div class="post-metadata">

**Author:** ![shogunkaramazov](https://assets.chunter.kodeco.com/user_avatar/forums.kodeco.com/shogunkaramazov/32/108826_2.png) [@shogunkaramazov](https://forums.kodeco.com/u/shogunkaramazov)\
**Post date:** [March 31, 2020, 2:07am UTC](https://forums.kodeco.com/t/chapter-44-landscape-page1237/97531/2 "2020-03-31T02:07:18Z")

</div>

@zoran Do you still have issues with this?

---

<div class="post-metadata">

**Author:** ![zoran](https://assets.chunter.kodeco.com/user_avatar/forums.kodeco.com/zoran/32/102075_2.png) [@zoran](https://forums.kodeco.com/u/zoran)\
**Post date:** [March 31, 2020, 3:59am UTC](https://forums.kodeco.com/t/chapter-44-landscape-page1237/97531/3 "2020-03-31T03:59:25Z")

</div>

Hi, only get error on real device, but works in simulator. I just kept going with simulator for a while… checking real device every so often until it just seemed to fix itself. No idea why, but finished book now and on to next one.

Thanks.

---

<div class="post-metadata">

**Author:** ![system](https://s3.amazonaws.com/cdn.raywenderlich.com/community/forum-assets/noun-game-ghost-878668.png) [@system](https://forums.kodeco.com/u/system)\
**Post date:** [July 25, 2020, 1:38am UTC](https://forums.kodeco.com/t/chapter-44-landscape-page1237/97531/4 "2020-07-25T01:38:01Z")

</div>

This topic was automatically closed after 166 days. New replies are no longer allowed.
