Post not yet marked as solved
Post marked as unsolved with 0 replies, 358 views
Hi,
When an SKStoreProductViewController (SKPVC) is quickly dismissed (before its presentation could complete), the "productViewControllerDidFinish:" delegate is not invoked at all.
However, the debug view hierarchy still shows that the SKStoreProductViewController is presented on top of my view controller. At this point, all the UI components from my view controller's view are inaccessible (as they're presumably behind the SKPVC). When I tap on screen, the system removes the SKPVC from the view hierarchy & then I can access the app controls again.
Here's my code for ref -
Moreover, I see the following stack trace logged in the xcode console, when the SKPVC is dismissed.
[AXRuntimeCommon] AX Lookup problem - errorCode:1100 error:Permission denied portName:'com.apple.iphone.axserver' PID:1008 (
0 AXRuntime 0x00000001c5f2b858 ACEF6FF4-C7D4-366C-ADD8-F7F6EBFC319B + 358488
1 AXRuntime 0x00000001c5ed8264 _AXGetPortFromCache + 560
2 AXRuntime 0x00000001c5ed98ec AXUIElementPerformFencedActionWithValue + 464
3 UIKit 0x00000001ef69243c A5FBB767-5AF4-3548-B3E5-99679E9184C4 + 873532
4 libdispatch.dylib 0x0000000100a7bb68 _dispatch_call_block_and_release + 32
5 libdispatch.dylib 0x0000000100a7d5f0 _dispatch_client_callout + 20
6 libdispatch.dylib 0x0000000100a84fa8 _dispatch_lane_serial_drain + 736
7 libdispatch.dylib 0x0000000100a85cb4 _dispatch_lane_invoke + 448
8 libdispatch.dylib 0x0000000100a91e38 _dispatch_workloop_worker_thread + 1520
9 libsystem_pthread.dylib 0x00000001ef3ac908 _pthread_wqthread + 276
10 libsystem_pthread.dylib 0x00000001ef3b377c start_wqthread + 8
)
2023-07-17 23:06:38.387271+0530 TestApp[3764:858970] [AXRuntimeCommon] AX Lookup problem - errorCode:1100 error:Permission denied portName:'com.apple.iphone.axserver' PID:1008 (
0 AXRuntime 0x00000001c5f2b858 ACEF6FF4-C7D4-366C-ADD8-F7F6EBFC319B + 358488
1 AXRuntime 0x00000001c5ed8264 _AXGetPortFromCache + 560
2 AXRuntime 0x00000001c5ed98ec AXUIElementPerformFencedActionWithValue + 464
3 UIKit 0x00000001ef69243c A5FBB767-5AF4-3548-B3E5-99679E9184C4 + 873532
4 libdispatch.dylib 0x0000000100a7bb68 _dispatch_call_block_and_release + 32
5 libdispatch.dylib 0x0000000100a7d5f0 _dispatch_client_callout + 20
6 libdispatch.dylib 0x0000000100a84fa8 _dispatch_lane_serial_drain + 736
7 libdispatch.dylib 0x0000000100a85cb4 _dispatch_lane_invoke + 448
8 libdispatch.dylib 0x0000000100a91e38 _dispatch_workloop_worker_thread + 1520
9 libsystem_pthread.dylib 0x00000001ef3ac908 _pthread_wqthread + 276
10 libsystem_pthread.dylib 0x00000001ef3b377c start_wqthread + 8
)
2023-07-17 23:06:38.388936+0530 TestApp[3764:858970] [AXRuntimeCommon] AX Lookup problem - errorCode:1100 error:Permission denied portName:'com.apple.iphone.axserver' PID:1008 (
0 AXRuntime 0x00000001c5f2b858 ACEF6FF4-C7D4-366C-ADD8-F7F6EBFC319B + 358488
1 AXRuntime 0x00000001c5ed8264 _AXGetPortFromCache + 560
2 AXRuntime 0x00000001c5ed98ec AXUIElementPerformFencedActionWithValue + 464
3 UIKit 0x00000001ef69243c A5FBB767-5AF4-3548-B3E5-99679E9184C4 + 873532
4 libdispatch.dylib 0x0000000100a7bb68 _dispatch_call_block_and_release + 32
5 libdispatch.dylib 0x0000000100a7d5f0 _dispatch_client_callout + 20
6 libdispatch.dylib 0x0000000100a84fa8 _dispatch_lane_serial_drain + 736
7 libdispatch.dylib 0x0000000100a85cb4 _dispatch_lane_invoke + 448
8 libdispatch.dylib 0x0000000100a91e38 _dispatch_workloop_worker_thread + 1520
9 libsystem_pthread.dylib 0x00000001ef3ac908 _pthread_wqthread + 276
10 libsystem_pthread.dylib 0x00000001ef3b377c start_wqthread + 8
)