Post

Replies

Boosts

Views

Activity

Reply to Certain pickers appearing off-center when running iOS app on mac
Note: Here is what the pickers look like on actual hardware. This is how I intend them to look.
Topic: Programming Languages SubTopic: Swift Tags:
Replies
Boosts
Views
Activity
Dec ’22
Reply to Certain pickers appearing off-center when running iOS app on mac
Here is a screencap of the code I just added in... rolloffPicker is a class-wide variable however its not even initialized until this line. I pass in a variable that equates to 80 and somehow the picker initializes as 162.
Topic: Programming Languages SubTopic: Swift Tags:
Replies
Boosts
Views
Activity
Dec ’22
Reply to Certain pickers appearing off-center when running iOS app on mac
Update: I added a line in the code to print the picker's height into the console. The arguments I passed into the initializer where the same... However for whatever reason the actual height of the picker's frames on the sim is double when I go to read it....
Topic: Programming Languages SubTopic: Swift Tags:
Replies
Boosts
Views
Activity
Dec ’22
Reply to [UIPickerView setFrame:]: invalid size {320, 216} pinned to {320, 216}
Hmmm... I am getting this error message and it is actively messing up my pickers... They are all the wrong height now.. Was not getting this issue on iOS 15. I tried using autolayout and the app would crash.. Perhaps I made a mistake when creating the constraints....
Topic: UI Frameworks SubTopic: UIKit Tags:
Replies
Boosts
Views
Activity
Dec ’22
Reply to Certain pickers appearing off-center when running iOS app on mac
Another update: Ah! I updated the physical iPhone from 15.6.1 to 16.1.2 and now the pickers are broken! Clearly this issue has to do with iOS 16.x.x?
Topic: Programming Languages SubTopic: Swift Tags:
Replies
Boosts
Views
Activity
Dec ’22
Reply to Certain pickers appearing off-center when running iOS app on mac
Another update: Through Testflight, I had a coworker download the app onto his iPhone. I am not sure what model he is using, but the same issue appeared on his hardware... Meaning that whatever is causing this is not related to the simulator at all.
Topic: Programming Languages SubTopic: Swift Tags:
Replies
Boosts
Views
Activity
Dec ’22