UISegmentedControl not responding to interaction on Simulator - ios

I have an interesting issue that I am trying to get some clarity on.
I have a UISegmentedControl on a view that works perfectly fine when deploying to a physical device (Switches indexes, valueChanged fires, customization set etc) but it doesn't work at all when testing on the Simulator.
When I say it doesn't work, I mean it shows up in the UI but you can't interact with it. The segments don't switch, the assigned action doesn't fire and so forth.
I am using Xcode 12.2 running on iPhone 11 sim running iOS 14.2. I've deployed to physical iPhone 11 and all works fine.
So, question is, is there a known issue with this control on simulator, have I encountered an Xcode bug, or am I just missing something basic?
NOTE: I've tried creating this in Storyboard and hooking up via an #IBOutlet as well as creating the full control programatically in Swift. The control shows up on simulator but can't be interacted with in both instances.

Related

UICollectionView Drag works in the Simulator but not in iPhone 8 Device

I am developing a custom keyboard for iOS, using Xcode 9.2 and Swift 4. The project is 100% code based (no Storyboard) and has limited use of AutoLayout (due to performance requirements).
The keyboard includes a UICollectionView that implements a reordering functionality with Drag and Drop.
Everything works fine in the following scenarios:
Simulator
Running the App in the simulator
Running the keyboards as an App Extension in the Simulator (building the dedicated Build Target as specified in Apple's App Extension Programming Guide
Device (iPhone 8, with iOS 11.2.6)
Running the app in the device
When running the app as App Extension and after having configured the custom keyboard in the device, everything works OK, except the Drag functionality.
The keyboard shows that drag selection animation (using dragPreviewParametersForItemAt), but the drag movement does not work
I made sure that the dragInteractionEnabled = true is set (in case there is a different behavior between the device and the simulator)
I tried to debug the operation, but Xcode doesn't seem to report any particular issue in the Drag and Drop Delegates
The question is. Has anyone seen this type of issue or have any recommendation?
Rgds... e

Objects showing in iPhone Sim but not iPad sim

Full disclosure: I'm very new to iOS development.
Using Xcode Version 7.2.1, Swift programming language, targeting 9.0
I have a very simple app. Universal. When running in simulator mode it works fine for any iphone chosen in the simulator. Everything shows up where it's supposed to etc.
When running it in iPad simulators, any of them, the only thing showing up is the navigation bar. All objects that are supposed to show up on the screen, are gone.
When debugging, the objects seem to get created alright.
Maybe there's something to be done in AppDelegate?
As I imagine this is a really noob problem I again like to emphasise that I'm grateful for any suggestions you may have.

UIDatePicker on iPad Showing Interface Issues with iOS 7

I have a simple app that's built with the iPhone. I have a UIDatePicker with a custom background that looks great.
However, the same component with (what I can see are the same settings) on the iPad in the storyboard looks like this when the app is run:
I have gone through the storyboard many times for the iPhone and iPad and all of the settings are the same. I just cannot see what I'm doing wrong or what needs to happen to get this weird interface issue fixed.
It's an iOS 7 app built with Xcode 5.1. I don't have the ability to test out Xcode 6.0.1 because of this issue that I'm facing: Xcode 6: Build hangs and Interface Builder Cocoa Touch Tool starts allocating all RAM.
Any feedback would be appreciated.

iPhone not showing same results as simulator

I have an app that was developed for iOS 4 and 5 and I migrated it to iOS7. When I test it on my iPhone 4 with iOS 7.1 is not showing the same results as the simulator.
Any suggestions?
Basically is not showing the initial segmented control, the map segmented control, the view associated with the control and it´s showing the scanner in a bigger size. The simulator showed the same issues before I restore the contents and settings in the simulator.
EDIT
If you watch very closely on the iphone it shows the segments and other elements of the view behind de navigation bar . But in the storyboard they appear right in the place that i want them. Is any form to consolidate my storyboard ??? Are any files that depend of the storyboard that i´m not including or generating.
The storyboard icon looks like black and also the .plist what does this means?
Simulator doesn't have the memory limitation as the device.
Simulator uses x86 arch, device uses ARM
It is a simulator, so it only "simulates" the behavior. Always test on device before submitting to the App Store.
Ok the problem was that i had installed the original app that is published in the app store. When I tested the current development on the iphone the existing app was replaced with the current one and that caused trouble. The solution was to delete the app from the device and then run again the current version of the app and that was all.

Xcode 4 iPad simulator - changes not showing

When I run a basic HelloWorld app using iPad simulator, none of my GUI changes are showing up. For example, I added a label and a text field, and when I run using the iPhone 4.3 simulator, I see these changes. However, when I run using the iPad 4.3 simulator, I see the original "My Universal App on IPad" text that was part of the boiler plate xib that XCode generated when I created the project.
What am I doing wrong?
Sometimes there are issues with syncing resources - if you either delete the app from within the simulator, or just do a reset on the simulator all should be well.
If that (or possible a clean and re-build) doesn't sort it, then I suspect the problem lies within the resource handling code itself.
I tried using a different project type and it seemed to work ok on the iPad simulator. Not sure why though.

Resources