227 |
227 |
228 Loading Shared Objects: |
228 Loading Shared Objects: |
229 This is disabled by default since it seems to break the terms of the iOS SDK agreement for iOS versions prior to iOS 8. It can be re-enabled in SDL_config_iphoneos.h. |
229 This is disabled by default since it seems to break the terms of the iOS SDK agreement for iOS versions prior to iOS 8. It can be re-enabled in SDL_config_iphoneos.h. |
230 |
230 |
231 ============================================================================== |
231 ============================================================================== |
232 Notes -- CoreBluetooth.framework |
|
233 ============================================================================== |
|
234 |
|
235 SDL_JOYSTICK_HIDAPI is disabled by default. It can give you access to a lot |
|
236 more game controller devices, but it requires permission from the user before |
|
237 your app will be able to talk to the Bluetooth hardware. "Made For iOS" |
|
238 branded controllers do not need this as we don't have to speak to them |
|
239 directly with raw bluetooth, so many apps can live without this. |
|
240 |
|
241 You'll need to link with CoreBluetooth.framework and add something like this |
|
242 to your Info.plist: |
|
243 |
|
244 <key>NSBluetoothPeripheralUsageDescription</key> |
|
245 <string>MyApp would like to remain connected to nearby bluetooth Game Controllers and Game Pads even when you're not using the app.</string> |
|
246 |
|
247 ============================================================================== |
|
248 Game Center |
232 Game Center |
249 ============================================================================== |
233 ============================================================================== |
250 |
234 |
251 Game Center integration might require that you break up your main loop in order to yield control back to the system. In other words, instead of running an endless main loop, you run each frame in a callback function, using: |
235 Game Center integration might require that you break up your main loop in order to yield control back to the system. In other words, instead of running an endless main loop, you run each frame in a callback function, using: |
252 |
236 |