sdl2_frt/Xcode-iOS/Test
Sam Lantinga b08bdc4401 Don't build SDL_JOYSTICK_HIDAPI by default on iOS
If you enable this, you'll need to link with CoreBluetooth.framework and add something like this to your Info.plist:
<key>NSBluetoothPeripheralUsageDescription</key>
<string>MyApp would like to remain connected to nearby bluetooth Game Controllers and Game Pads even when you're not using the app.</string>
2018-10-26 09:27:31 -07:00
..
TestiPhoneOS.xcodeproj Don't build SDL_JOYSTICK_HIDAPI by default on iOS 2018-10-26 09:27:31 -07:00
Info.plist Updated SDL's YUV support, many thanks to Adrien Descamps 2017-11-12 22:51:12 -08:00
README Fixed outdated information in a README for iOS. 2016-01-06 22:39:04 +01:00

TestiPhoneOS.xcodeproj contains targets to compile many of the SDL test programs for iPhone OS.  Most of these test programs work fine, with the following exceptions:

testthread:
	SIGTERM kills the process immediately without executing the 'kill' function.  The posix standard says this shouldn't happen.  Apple seems intent on having iPhone apps exit promptly when the user requests it, so maybe that's why(?)

testlock:
	Locks appear to work, but there doesn't appear to be a simple way to send the process SIGINT.

testsprite2: 
	SDL_CreateTextureFromSurface requests an ARGB pixel format, but iPhone's SDL video driver only supports ABGR.