Learn Courses My Dashboard

Code Works Perfectly On Emulator But Not iPhone

I have an issue with my SearchBar with scope working on my emulator but not on my iPhone properly. When I type the name of a specific player the iPhone shows me duplicates of the player but my emulator does not. What causes this issue? (I made the scoped bar programmatically but I don’t see how that could cause an issue).

have you tried a fresh install on your emulator (uninstall the app in the emulator and install it again) maybe you can notice the same behavior if you do this

I don’t want duplicates to show. I did a fresh install of the app on an iPhone 11 emulator and it does not show duplicates like how it runs on an actual iPhone so it’s like the other emulators I used. I’m still not sure what the issue is.