I am just getting back into iphone app development after being away since 2018. Back then I released an app called “Chinese American Calendar” developed in objective-C on xcode 10. I am trying to re-release it for IOS 15 and greater using xcode 15.3. I have been unable to get my views to auto resize correctly. I have been using chatGPT to help me. I have tried everything suggested and still does not work. I think I am just missing something quite basic but just can’t see it. I do not expect anyone to solve this for me without seeing my code but I would appreciate pointing me in the right direction. I would be happy to share code fragments with anyone willing to help. Moreover, I would like suggestions on how to go about this. Alternatively do you think I should just rewrite the entire app in Swift which would involve first learning Swift and then converting over 15 xib files to storyboard? I’m really at a loss here. Thank you so much and sorry if I posted this to the wrong forum.
Using chatGPT suggestions I checked all the xib file settings and constraints. I checked my code and fixed all the warnings and still none of the views auto resize correctly. I created a new startup splash screen which is the only image that correctly auto resizes. The views seem to expand well beyond the screen size. The bottom of the view seems to line of correctly with the bottom of the screen but the top is way up beyond the top of the screen. As a test, I created a button near the bottom of the view and it displayed way up near the top in the iphone simulator. Even stranger, no matter what changes I make in the xib settings, nothing changes when run.
user26033959 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.