This question isn't a big deal. It doesn't really matter. I am just curious, but I explained everything. Your question don't really work in this situation. I want to test my code for screen display size. I code the size of 9.7 retina in Xcode size pixals. This code is for future devices that may have the same desplay as 9.7 Retina. I wanted to test the code by making it run wrong storyboard. I comment out the iPad Air 2 code, so it could run the code. However, when it ran, it ran the right storyboard. I couldn't figure out why, and I looked over everything. Then I decided to edit iPad Air code by making run a storyboard that doesn't exist. Then I ran the app to my iPad Air 2, and it failed because the storyboard for iPad Air code couldn't be found. That told me the problem was iPad Air. I correct back to the storyboard it is supposed to run, and then I comment it out. Then my other code worked. I don't have problem, I am just curious.
Post
Replies
Boosts
Views
Activity
Thank you, and Unfortunately, I can't get Xcode 12. I have 2011 Macbook Pro, and I forced my mac to have Catalina 10.15.4. I can't go any higher.
There isn't a iPad Mini simulator, so I can't test to see if my iPad Air 2/9.7 Retina works on a MIni. I own an Air 2 as stated in the post. I also have a storyboard for all other devices sizes except legacy because what would be the point. I just need to figure out the iPad Mini.
I just create a label in each storyboard. Then I made them hidden in IB, and then I connected them to the original label's @IBOutlet. That solved the problem, so I used part of your solution. I still want to know if it's possible code the title of the storyBoard because I will need app to change different storyboard based on the device size that the person is running the app on.
Claude31, can you check out my post please?
Don't need to answer, I solved it myself. I used array in way I wasn't thinking at first, but now, it works great. There is no longer a pattern.
What I mean by fix, I mean fix it so it can be used, but I guess that's not possible.
It's interesting how the code works. The Switch still thinks it has a 49 width and 31 height, but it's actually larger.
Thank you, that worked.
I put the code in, but how do you activate it? Do you put in the App Delegate or the main code? Is there way to do it with text field height?
It worked! Thank you, so much.
Claude31, I replied to you on my question.
Claude31, please respond to reply on question.
I create a segue in IB, and it's only in IB. I don't see the option put an image on here.