Search results for

“Visual Studio Maui IOS”

109,084 results found

Post

Replies

Boosts

Views

Activity

Reply to iCloud Sync not working with iPhone, works fine for Mac.
Thank you for reporting the issue, which does seem like a regression in iOS 26.4. Given the extensive impact of the issue, I’d suggest that you file a feedback report, if not yet, to attract more attention from the relevant engineering team. Specific to the issue, you don't need to capture a sysdiagnose to file a feedback report, but please mention the user impact in your report, if you don't mind. Please share your feedback report ID here. Thanks again. Best, —— Ziqiao Chen  Worldwide Developer Relations.
6d
CPListImageRowItem layout issue with 3 items on iOS < 26 (UI lag when using imageTitles)
Description: I’m using CPListTemplate and creating rows with CPListImageRowItem using the following initializer: if #available(iOS 17.4, *) { self.init(text: titleList, images: imagesRow, imageTitles: titlesRow) } Problem: When displaying 3 items instead of 4, on iOS versions below 26, the items are automatically stretched to fill the available width. This leads to a serious issue: The UI becomes laggy when interacting with the control buttons on the right The interface “jumps” and behaves inconsistently After investigating, I found that: If imageTitles is set to nil, the issue disappears and everything works smoothly Behavior difference: On iOS 26, this issue does not occur Items are no longer stretched when there are only 3 — instead, empty space remains on the right Questions: Is this a known issue or expected behavior on older iOS versions? Is there a recommended workaround besides setting imageTitles = nil?
0
0
64
6d
TkSmartCard transmitRequest persistently returning Cryptotokenkit error -2 on iOS/iPadOS
We are using the CryptoTokenKit framework, specifically the classes TKSmartCardSlotManager, TKSmartCardSlot, and TKSmartCard, to communicate with smart cards through external USB readers on iOS and iPadOS. In most cases, we are able to detect readers via TKSmartCardSlotManager, and send APDU commands using transmitRequest method, with the following code (where self->_slot and self->_card are previously created TkSmartCardSlot and TkSmartCard, respectively): #import - (NSData *)sendCardCommand:(NSData *)command { if (!self->_card || !self->_card.valid || self->_slot.state != TKSmartCardSlotStateValidCard) return nil; NSMutableData *res = [[NSMutableData alloc] init]; NSError *sessionError = nil; [self->_card inSessionWithError:&sessionError executeBlock:^BOOL(NSError **error) { dispatch_semaphore_t semaphore = dispatch_semaphore_create(0); try { [self->_card transmitRequest:command reply:^(NSData * _Nullable response, NSError* _Nullable apduError) { if (apduError != nil) self
2
0
256
6d
Reply to Text alignment issue in iOS 26.4
As a temporary workaround, I have replaced the system font with Helvetica Neue in the affected parts of my apps. This is not an ideal solution, but it allows users to continue using the apps without the rendering problems observed on iOS 26.4. I would still appreciate any information regarding the underlying issue with system font rendering, as I would prefer to return to the system font in the future if possible.
Topic: UI Frameworks SubTopic: UIKit
6d
How to load and draw texture with opacity in Metal
The background I'm finally working to convert my very old Mac kaleidoscope application, ScopeWorks, which was written in OpenGL and Objective-C, to a Multiplatform app in SwiftUI and Metal. I'm using the MetalKit MTKView class, wrapped for SwiftUI as an NSViewRepresentable or UIViewRepresentable. I then provide an MTKViewDelegate that provides a draw method. The draw method fetches the current render pass descriptor, creates a command buffer, sets up a render pipeline, and does its drawing. My renderer's makePipeline method looks like this: func makePipeline() { let library = device.makeDefaultLibrary() let pipelineDesc = MTLRenderPipelineDescriptor() pipelineDesc.vertexFunction = library?.makeFunction(name: vertex_main) pipelineDesc.fragmentFunction = library?.makeFunction(name: fragment_main) pipelineDesc.colorAttachments[0].pixelFormat = .bgra8Unorm pipeline = try! device.makeRenderPipelineState(descriptor: pipelineDesc) } And my shaders look like this: struct VertexOut { float4 position [[position]]; floa
2
0
684
1w
Reply to Scheduled events reach threshold almost immediately on iOS 26.2
[quote='874812022, DTS Engineer, /thread/814559?answerId=874812022#874812022'] Make certain you properly handle rescheduling scenarios. [/quote] Hey Albert @DTS Engineer @DTS Engineer! Thanks a lot for your input on this! My bug report has been updated recently (FB18061981), and I have a follow up question: Now that the Screen Time devs have figured out the root cause of this bug, is it feasible to re-schedule the DeviceActivityEvent from within the eventDidReachThreshold(…) callback if we detect that it was called too early? We do have a workaround in place that dismisses the eventDidReachThreshold call if we detect that it was called unreasonably early: let timeSinceSchedulingActivity = currentTimeStamp - timeStampOfSchedulingActivity if timeSinceSchedulingActivity < 50 { // do not proceed to shielding the activity because this is not a real threshold callback, this is a bug!!! return } If we now, within this if condition, try to start a new DeviceActivityEvent that replaces the previous malfunctioning o
Topic: App & System Services SubTopic: General Tags:
1w
Reply to Crashed: com.apple.CFNetwork.LoaderQ
0 libquic.dylib 0x36d84 quic_fc_service_pending_send_data + 360 1 libquic.dylib 0x3bcf0 __quic_conn_outbound_stopping_block_invoke_2 + 28 2 Network 0x23e428 nw_protocol_instance_access_flow_state + 136 3 libquic.dylib 0x3bcb8 __quic_conn_outbound_stopping_block_invoke + 744 4 libquic.dylib 0x3b754 quic_conn_outbound_stopping + 168 5 Network 0x3559b4 nw_protocol_implementation_finalize_output_frames(nw_protocol*, nw_frame_array_s*) + 576 6 Network 0x67308 nw_flow_service_writes(NWConcrete_nw_endpoint_handler*, NWConcrete_nw_endpoint_flow*, nw_flow_protocol*) + 5264 7 Network 0x58944 nw_endpoint_handler_add_write_request + 4860 8 Network 0x57880 nw_endpoint_handler_add_write_request + 568 9 Network 0x575a4 nw_connection_add_write_request_on_queue(NWConcrete_nw_connection*, NSObject*, bool) + 228 10 Network 0x5c314 nw_connection_async_if_needed + 76 11 Network 0x573c4 nw_connection_add_write_request(NWConcrete_nw_connection*, NSObject*) + 312 12 Network 0x56868 nw_connection_send + 516 13 CFNetwork 0x66b30 NWIOC
1w
Reply to Text alignment issue in iOS 26.4
After additional testing, I found that the issue is specifically related to the system font: When using: UIFont* font = [UIFont systemFontOfSize:20]; or UIFont* font = [UIFont systemFontOfSize:20 weight:UIFontWeightRegular]; the text is rendered incorrectly (appearing right-aligned or partially clipped) on iOS 26.4. When switching to a named font such as: UIFont* font = [UIFont fontWithName:@Arial size:20]; the exact same drawing code produces correct results. I also tested multiple system font variants (including different weights and monospaced digit system fonts), and all system font variants exhibit the same incorrect behavior. This strongly suggests that the issue is related to system font rendering in combination with drawAtPoint:withAttributes: (and drawInRect:) on iOS 26.4. Important: switching to a different font is not a viable workaround for me. The affected drawing routine is a central part of multiple apps and is used in hundreds of places. Changing the font would significantly
Topic: UI Frameworks SubTopic: UIKit
1w
Reply to How to reset user preference for crypto token kit access
[quote='881565022, amepatil, /thread/769640?answerId=881565022#881565022, /profile/amepatil'] I see these issues still happening in iOS 26. [/quote] Sadly, that doesn’t surprise me. None of the bugs mentioned above (FB16052660, FB16058654, FB16058772, FB16060769) are marked as resolved. Regarding ExtensionKit, AFAIK the situation there hasn’t changed in iOS 26, that is, things are still as I described them on this thread. However, I don’t understand how that is related to CryptoTokenKit extensions. ExtensionKit was designed so that third-party apps can expose their own extension points, allowing other third-party developers to create extensions that attach to those points (and, indeed, that’s how things are working on macOS today). System frameworks, like CryptoTokenKit, generally hide this underlying mechanism from third-party developers. That is, third-party developers can extend the system without dealing with the underlying extension infrastructure, be that ExtensionKit or the older mech
Topic: Privacy & Security SubTopic: General Tags:
1w
Migration to Xcode 26: Requirements, Internal Distribution, and Compatibility Concerns
Is it mandatory for all developers to migrate to Xcode 26 starting from April 28, 2026? What happens if a developer submits or distributes a build created using Xcode 16 after April 28, 2026? Will it still be accepted or supported? Our app is distributed only via an internal company portal (not through the App Store). In this case, are we still required to build and distribute the app using Xcode 26 after April 28, 2026? If a hotfix is required before our next planned release (July 2026), how safe is it to use the UIDesignRequiresCompatibility flag as a temporary solution, assuming Xcode 26 becomes mandatory? Are there any risks or limitations associated with this approach? What are the potential issues if a team continues development on Xcode 16 while others have migrated to Xcode 26? For example, could there be compatibility, build, or integration challenges in such a mixed environment? If the UIDesignRequiresCompatibility flag is used as a temporary workaround, what would be the impact if Apple later remov
1
0
49
1w
Reply to test NEAppProxyProvider without MDM?
First up, have a read of TN3134 Network Extension provider deployment. This explains your deployment options for this technology. Specifically, for an app proxy on iOS the device must be managed. That’s because the MDM system is used to associate your app proxy with the apps that it proxies, by matching up the VPNUUID properties on both. During development you can use NETestAppMapping to establish this mapping. You’ll still need a configuration profile to enable your app proxy, because of the requirement to provide a VPNUUID property with the configuration. [quote='820572021, Davidbaraff2, /thread/820572, /profile/Davidbaraff2'] Is an app proxy the right tool for this? [/quote] Before you can answer that you have to first see if an app proxy will actually work. That is, in production: Are the target devices managed? Is the target app installed via MDM? If either of those is false, an app proxy won’t work and thus it’s definitely not the right tool (-: Share and Enjoy — Quinn “The Eskimo!” @ Developer
1w
Reply to iCloud Sync not working with iPhone, works fine for Mac.
Thank you for reporting the issue, which does seem like a regression in iOS 26.4. Given the extensive impact of the issue, I’d suggest that you file a feedback report, if not yet, to attract more attention from the relevant engineering team. Specific to the issue, you don't need to capture a sysdiagnose to file a feedback report, but please mention the user impact in your report, if you don't mind. Please share your feedback report ID here. Thanks again. Best, —— Ziqiao Chen  Worldwide Developer Relations.
Replies
Boosts
Views
Activity
6d
CPListImageRowItem layout issue with 3 items on iOS < 26 (UI lag when using imageTitles)
Description: I’m using CPListTemplate and creating rows with CPListImageRowItem using the following initializer: if #available(iOS 17.4, *) { self.init(text: titleList, images: imagesRow, imageTitles: titlesRow) } Problem: When displaying 3 items instead of 4, on iOS versions below 26, the items are automatically stretched to fill the available width. This leads to a serious issue: The UI becomes laggy when interacting with the control buttons on the right The interface “jumps” and behaves inconsistently After investigating, I found that: If imageTitles is set to nil, the issue disappears and everything works smoothly Behavior difference: On iOS 26, this issue does not occur Items are no longer stretched when there are only 3 — instead, empty space remains on the right Questions: Is this a known issue or expected behavior on older iOS versions? Is there a recommended workaround besides setting imageTitles = nil?
Replies
0
Boosts
0
Views
64
Activity
6d
Reply to Zoom navigation transitions for tabViewBottomAccessory are not working in SwiftUI with ObservableObject or Observable
Still not fixed in iOS 26.4
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
6d
TkSmartCard transmitRequest persistently returning Cryptotokenkit error -2 on iOS/iPadOS
We are using the CryptoTokenKit framework, specifically the classes TKSmartCardSlotManager, TKSmartCardSlot, and TKSmartCard, to communicate with smart cards through external USB readers on iOS and iPadOS. In most cases, we are able to detect readers via TKSmartCardSlotManager, and send APDU commands using transmitRequest method, with the following code (where self->_slot and self->_card are previously created TkSmartCardSlot and TkSmartCard, respectively): #import - (NSData *)sendCardCommand:(NSData *)command { if (!self->_card || !self->_card.valid || self->_slot.state != TKSmartCardSlotStateValidCard) return nil; NSMutableData *res = [[NSMutableData alloc] init]; NSError *sessionError = nil; [self->_card inSessionWithError:&sessionError executeBlock:^BOOL(NSError **error) { dispatch_semaphore_t semaphore = dispatch_semaphore_create(0); try { [self->_card transmitRequest:command reply:^(NSData * _Nullable response, NSError* _Nullable apduError) { if (apduError != nil) self
Replies
2
Boosts
0
Views
256
Activity
6d
After upgrade to iOS 26.4, averagePowerLevel and peakHoldLevel are stuck -120
We have an application that capture audio and video. App captures audio PCM on internal or external microphone and displays audio level on the screen. App was working fine for many years but after iOS 26.4 upgrade, averagePowerLevel and peakHoldLevel are stuck to -120 values. Any suggestion?
Replies
3
Boosts
0
Views
221
Activity
6d
Reply to Text alignment issue in iOS 26.4
As a temporary workaround, I have replaced the system font with Helvetica Neue in the affected parts of my apps. This is not an ideal solution, but it allows users to continue using the apps without the rendering problems observed on iOS 26.4. I would still appreciate any information regarding the underlying issue with system font rendering, as I would prefer to return to the system font in the future if possible.
Topic: UI Frameworks SubTopic: UIKit
Replies
Boosts
Views
Activity
6d
Security Research: URL Preview Feature Test
I am researching URL preview functionality. https://sec-research.invalid/poconmouseover=alert(document.domain) Can someone verify on iOS 17?
Replies
0
Boosts
0
Views
65
Activity
1w
How to load and draw texture with opacity in Metal
The background I'm finally working to convert my very old Mac kaleidoscope application, ScopeWorks, which was written in OpenGL and Objective-C, to a Multiplatform app in SwiftUI and Metal. I'm using the MetalKit MTKView class, wrapped for SwiftUI as an NSViewRepresentable or UIViewRepresentable. I then provide an MTKViewDelegate that provides a draw method. The draw method fetches the current render pass descriptor, creates a command buffer, sets up a render pipeline, and does its drawing. My renderer's makePipeline method looks like this: func makePipeline() { let library = device.makeDefaultLibrary() let pipelineDesc = MTLRenderPipelineDescriptor() pipelineDesc.vertexFunction = library?.makeFunction(name: vertex_main) pipelineDesc.fragmentFunction = library?.makeFunction(name: fragment_main) pipelineDesc.colorAttachments[0].pixelFormat = .bgra8Unorm pipeline = try! device.makeRenderPipelineState(descriptor: pipelineDesc) } And my shaders look like this: struct VertexOut { float4 position [[position]]; floa
Replies
2
Boosts
0
Views
684
Activity
1w
Reply to Scheduled events reach threshold almost immediately on iOS 26.2
[quote='874812022, DTS Engineer, /thread/814559?answerId=874812022#874812022'] Make certain you properly handle rescheduling scenarios. [/quote] Hey Albert @DTS Engineer @DTS Engineer! Thanks a lot for your input on this! My bug report has been updated recently (FB18061981), and I have a follow up question: Now that the Screen Time devs have figured out the root cause of this bug, is it feasible to re-schedule the DeviceActivityEvent from within the eventDidReachThreshold(…) callback if we detect that it was called too early? We do have a workaround in place that dismisses the eventDidReachThreshold call if we detect that it was called unreasonably early: let timeSinceSchedulingActivity = currentTimeStamp - timeStampOfSchedulingActivity if timeSinceSchedulingActivity < 50 { // do not proceed to shielding the activity because this is not a real threshold callback, this is a bug!!! return } If we now, within this if condition, try to start a new DeviceActivityEvent that replaces the previous malfunctioning o
Topic: App & System Services SubTopic: General Tags:
Replies
Boosts
Views
Activity
1w
Reply to Crashed: com.apple.CFNetwork.LoaderQ
0 libquic.dylib 0x36d84 quic_fc_service_pending_send_data + 360 1 libquic.dylib 0x3bcf0 __quic_conn_outbound_stopping_block_invoke_2 + 28 2 Network 0x23e428 nw_protocol_instance_access_flow_state + 136 3 libquic.dylib 0x3bcb8 __quic_conn_outbound_stopping_block_invoke + 744 4 libquic.dylib 0x3b754 quic_conn_outbound_stopping + 168 5 Network 0x3559b4 nw_protocol_implementation_finalize_output_frames(nw_protocol*, nw_frame_array_s*) + 576 6 Network 0x67308 nw_flow_service_writes(NWConcrete_nw_endpoint_handler*, NWConcrete_nw_endpoint_flow*, nw_flow_protocol*) + 5264 7 Network 0x58944 nw_endpoint_handler_add_write_request + 4860 8 Network 0x57880 nw_endpoint_handler_add_write_request + 568 9 Network 0x575a4 nw_connection_add_write_request_on_queue(NWConcrete_nw_connection*, NSObject*, bool) + 228 10 Network 0x5c314 nw_connection_async_if_needed + 76 11 Network 0x573c4 nw_connection_add_write_request(NWConcrete_nw_connection*, NSObject*) + 312 12 Network 0x56868 nw_connection_send + 516 13 CFNetwork 0x66b30 NWIOC
Replies
Boosts
Views
Activity
1w
Reply to Text alignment issue in iOS 26.4
After additional testing, I found that the issue is specifically related to the system font: When using: UIFont* font = [UIFont systemFontOfSize:20]; or UIFont* font = [UIFont systemFontOfSize:20 weight:UIFontWeightRegular]; the text is rendered incorrectly (appearing right-aligned or partially clipped) on iOS 26.4. When switching to a named font such as: UIFont* font = [UIFont fontWithName:@Arial size:20]; the exact same drawing code produces correct results. I also tested multiple system font variants (including different weights and monospaced digit system fonts), and all system font variants exhibit the same incorrect behavior. This strongly suggests that the issue is related to system font rendering in combination with drawAtPoint:withAttributes: (and drawInRect:) on iOS 26.4. Important: switching to a different font is not a viable workaround for me. The affected drawing routine is a central part of multiple apps and is used in hundreds of places. Changing the font would significantly
Topic: UI Frameworks SubTopic: UIKit
Replies
Boosts
Views
Activity
1w
Reply to How to reset user preference for crypto token kit access
[quote='881565022, amepatil, /thread/769640?answerId=881565022#881565022, /profile/amepatil'] I see these issues still happening in iOS 26. [/quote] Sadly, that doesn’t surprise me. None of the bugs mentioned above (FB16052660, FB16058654, FB16058772, FB16060769) are marked as resolved. Regarding ExtensionKit, AFAIK the situation there hasn’t changed in iOS 26, that is, things are still as I described them on this thread. However, I don’t understand how that is related to CryptoTokenKit extensions. ExtensionKit was designed so that third-party apps can expose their own extension points, allowing other third-party developers to create extensions that attach to those points (and, indeed, that’s how things are working on macOS today). System frameworks, like CryptoTokenKit, generally hide this underlying mechanism from third-party developers. That is, third-party developers can extend the system without dealing with the underlying extension infrastructure, be that ExtensionKit or the older mech
Topic: Privacy & Security SubTopic: General Tags:
Replies
Boosts
Views
Activity
1w
Migration to Xcode 26: Requirements, Internal Distribution, and Compatibility Concerns
Is it mandatory for all developers to migrate to Xcode 26 starting from April 28, 2026? What happens if a developer submits or distributes a build created using Xcode 16 after April 28, 2026? Will it still be accepted or supported? Our app is distributed only via an internal company portal (not through the App Store). In this case, are we still required to build and distribute the app using Xcode 26 after April 28, 2026? If a hotfix is required before our next planned release (July 2026), how safe is it to use the UIDesignRequiresCompatibility flag as a temporary solution, assuming Xcode 26 becomes mandatory? Are there any risks or limitations associated with this approach? What are the potential issues if a team continues development on Xcode 16 while others have migrated to Xcode 26? For example, could there be compatibility, build, or integration challenges in such a mixed environment? If the UIDesignRequiresCompatibility flag is used as a temporary workaround, what would be the impact if Apple later remov
Replies
1
Boosts
0
Views
49
Activity
1w
Reply to test NEAppProxyProvider without MDM?
First up, have a read of TN3134 Network Extension provider deployment. This explains your deployment options for this technology. Specifically, for an app proxy on iOS the device must be managed. That’s because the MDM system is used to associate your app proxy with the apps that it proxies, by matching up the VPNUUID properties on both. During development you can use NETestAppMapping to establish this mapping. You’ll still need a configuration profile to enable your app proxy, because of the requirement to provide a VPNUUID property with the configuration. [quote='820572021, Davidbaraff2, /thread/820572, /profile/Davidbaraff2'] Is an app proxy the right tool for this? [/quote] Before you can answer that you have to first see if an app proxy will actually work. That is, in production: Are the target devices managed? Is the target app installed via MDM? If either of those is false, an app proxy won’t work and thus it’s definitely not the right tool (-: Share and Enjoy — Quinn “The Eskimo!” @ Developer
Replies
Boosts
Views
Activity
1w
Reply to The audio of FairPlay protected content can be captured - Safari on iOS
Hi, I would appreciate any feedback - either confirming or contradicting our observation above, that Audio cannot be protected from being captured on Safari/iOS. Thanks.
Topic: Media Technologies SubTopic: Streaming Tags:
Replies
Boosts
Views
Activity
1w