Posts

Post not yet marked as solved
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 )
Posted Last updated
.
Post not yet marked as solved
1 Replies
905 Views
I understand that objC has been around for a long time now. However, swift adoption has increased since it's launch & I believe most of the new iOS apps are built in swift.But, I'd like to understand what is the current market share of Swift vs Objective-C? Is there an official apple page that captures these stats?
Posted Last updated
.
Post not yet marked as solved
3 Replies
3.9k Views
I am using AVPlayer to play video files downloaded from a URL. Is there a way to determine what video MIME types are supported by AVPlayer?I tried using -[AVURLAsset audiovisualMIMETypes]which rerturns following supported MIME types for video - "video/3gpp2", "video/quicktime", "video/mp4", "video/avi", "video/x-m4v", "video/3gpp"However, when I use AVI files, the AVPlayer fails to play those & return error - "Failed to play media file".Is there a subtle & reliable way to determine what video formats does the AVPlayer support?Contradictorily, as per above list avi seems to be a supported type, but the isPlayable check on AVAsset returns false for avi files. (Why?) Strange!Note: I don't want to use isPlayable check on AVAsset object as it makes a network call & I have many files which makes it not preferable.
Posted Last updated
.