View Issue Details

IDProjectCategoryView StatusLast Update
0002456NoesisGUIC++ SDKpublic2022-11-08 11:35
Reportermbailey Assigned Tojsantos  
PrioritynormalSeverityfeature 
Status assignedResolutionopen 
Product Version3.1.5 
Target Version3.1.7 
Summary0002456: Display::Close() for iOS
Description

Continuing on from 0002366, we would like to ask for an implementation for Display::Close() for iOS (ie. UIKitDisplay) as well. This is only needed for test apps, but currently we do not have a way to exit from UIKitDisplay::EnterMessageLoop() during automated testing. Most alternatives to Display::Close() led us to crashing the app which triggers Apple's Crash Reporting UI, less than ideal for CI.

Apple has provided an example implementation of what changes you should make to the current usage of [[NSRunLoop currentRunLoop] run] here that allows exiting:
https://developer.apple.com/documentation/foundation/nsrunloop/1412430-run?language=objc

Given the above example, a call to Display::Close() would then probably set shouldKeepRunning = NO, hopefully allowing us to return from UIKitDisplay::EnterMessageLoop() to shutdown our testing without needing to crash the app.

PlatformiOS

Relationships

related to 0002366 resolvedjsantos Display::Close() for PlayStation and Xbox 

Activities

There are no notes attached to this issue.

Issue History

Date Modified Username Field Change
2022-11-08 05:57 mbailey New Issue
2022-11-08 11:13 sfernandez Assigned To => jsantos
2022-11-08 11:13 sfernandez Status new => assigned
2022-11-08 11:13 sfernandez Target Version => 3.1.7
2022-11-08 11:35 jsantos Description Updated
2022-11-08 11:35 jsantos Relationship added related to 0002366