The Author Online Book Forums are Moving

The Author Online Book Forums will soon redirect to Manning's liveBook and liveVideo. All book forum content will migrate to liveBook's discussion forum and all video forum content will migrate to liveVideo. Log in to liveBook or liveVideo with your Manning credentials to join the discussion!

Thank you for your engagement in the AoF over the years! We look forward to offering you a more enhanced forum experience.

5748 (2) [Avatar] Offline
#1
So in Storyboard I used Editor > Size to Fit Contents just like in the example, and it shows fine.
But when deploying to iPhone 8 Simulator, the text is trimmed again.

Did I miss anything? I would assume what we see on the Storyboard will be the same in the Simulator...
5748 (2) [Avatar] Offline
#2
After Googling for a while, I found out that you need to click Add Missing Constraints... maybe this needs to be added to the video? And does the book talk about what these Constraints do? I suspect it's something to do with Auto-Resize-Layouts
Craig Grummitt (50) [Avatar] Offline
#3
Hi 5748, sorry for taking so long to get back to your query, I just discovered I wasn't watching this forum, I've rectified this.

So in the storyboard you are editing the app's interface for a specific device, such as iPhone 8, or iPhone 8 Plus. If you edit it in the storyboard for iPhone 8 Plus, and then run it in the iPhone 8, you will expect to encounter some issues with the interface. Your googling went well - a solution to this is constraints and auto layout. We look into this in the video in Unit 5 "Adaptive layout" and in the book in chapter 6.

"Add missing constraints" is a simple approach to solve the problem, but the true answer is a little more complex because if you use this approach you may not be happy with the constraints that Xcode automatically adds for you.

(576562 I'm not sure what the netgear support comment was about? Maybe meant for another forum?)
Mike davis (2) [Avatar] Offline
#4
Great day everyone!

Id like to share the perfect online application, Ipa library. you may install the app at this website https://ipa-library.com/ for free and maybe this app will help for your iOs like .exe for windows and .ipa is for iphone’s.