Search results for

“column”

2,085 results found

Post

Replies

Boosts

Views

Activity

Reply to ARKit camera transform orientation vector doesn't match physical device heading (despite `.gravityAndHeading`)
Hello @himanshujnaidu, I can't tell for sure but it sounds like the matrix you show above is different than how you are interpreting it. Camera Transform = simd_float4x4( [ [0.98446155, -0.030119859, 0.172998, 0.0], // column 0 [0.023979114, 0.9990097, 0.037477385, 0.0], // column 1 [-0.17395553, -0.032746706, 0.98420894, 0.0], // column 2 [0.024039675, -0.037087332, -0.22780673, 0.99999994] // column 3 ]) First up, keep in mind that float4x4's init method is column major. So each 'row' in that code is a column in the matrix. So in this case the position of the camera relative to the origin is 0.024039675, -0.037087332, -0.22780673 Second, the upper-left part of the float4x4 matrix is a float3x3 and represents the orientation. The eulerAngles property on the frame.camera re-interprets this 3x3 matrix as the familiar Euler angles. You can find the orientation of the camera relative to the frame via let rotation = frame.camera.eulerAngles rotation.y will be
Topic: Spatial Computing SubTopic: ARKit Tags:
Jun ’25
SwiftUI Table - Double Click Row While Retaining Single Click Selection Behavior
I have an AppKit application that I'm converting to SwiftUI and I'm having some difficulty understanding how to model a Table with single click and double click behavior. My table is relatively simple, it has 3 columns (possibly more in the future), the first with an icon, and the latter two with text. The two text fields are sortable, and the table requires multi-selection and row-based keybindings (return, delete), as well as double-click. The first surprising thing is that I cannot add those behaviors on the TableRow or even the TableCell but rather the views inside of them. That means the subviews must occupy the entire TableCell or else they will not capture the click event. That means repeating the same gestures for the contents of every cell (or wrapping all with the same view)? The second surprise is that adding an onTapGesture(count: 2) prevents the default row selection gesture from firing. Do I really need to re-implement row selection if I want double click support as well? Adding a onTap
3
0
2.4k
Sep ’22
Reply to Application is not able to access any keychain info on application launch post device reboot
[quote='844785022, neha24, /thread/788736?answerId=844785022#844785022, /profile/neha24'] Does SecItemDelete should also fail … in case of Device in locked state … right? [/quote] No. The keychain database as a whole is available at all times. Keychain item protection is implemented by encrypting specific attributes of the keychain item. When you read the item, the system goes to decrypt those attributes. If the required key material isn’t available, then the read operation fails. However, the system doesn’t need that key material in order to delete the item, and thus it’s possible to delete an item that you can’t currently access. This makes more sense if you have a little understanding of how the keychain actually works internally. Have a read of SecItem: Fundamentals, and specifically its The Four Freedoms^H^H^H^H^H^H^H^H Functions section. In that model, the content column of a row is encrypted (based on the kSecAttrAccessible column) but that doesn’t stop you from deleting the entire ro
Topic: Privacy & Security SubTopic: General Tags:
Jun ’25
Extend Family Control permission to app's extensions
I have tried multiple time through multiple channels and you have yet to respond to my request. I am developing an App on xcode APP Bundle ID: garymdmd.MediaPace Apple ID: 6740823496 Apple has granted me distribution use of the Family Control/Screentime module for my main app. According to your engineer's post here: https://developer.apple.com/forums/thread/764919 That permission should be extended to your extensions that are part of the app. When you try to setup the extension identifiers they do not show the added capabilities column that sow sup when getting permission for the main app so you are not able to endow the extension with these permissions which seem to be needed to work with the app. I am trying to add these bundle identifier extensions: garymdmd.MediaPace.ScreenTimeMonitorDuo garymdmd.MediaPace.DeviceActivityReport Can you please tell me how to get this to work or to add permissions to these extensions. I have sent in the request form multiple times (here - https://developer.apple.com
2
0
162
Jun ’25
Reply to Cannot add Wi-Fi Aware entitlement due to automatic signing failure
Hmmmm, this is working for me. Here’s what I did: Using Xcode 26.0 beta on macOS 15.5, I created a new project from the iOS > App template. In Signing & Capabilities, I added Wi-Fi Aware. And enabled the Publish option. I selected Any iOS Device as my run destination. And then built the app. This is what I see: % codesign -d --entitlements - Test788807.app Executable=/Users/quinn/Library/Developer/Xcode/DerivedData/Test788807-dcmkbvkgvfliviecoruqexidkqbe/Build/Products/Debug-iphoneos/Test788807.app/Test788807 [Dict] [Key] application-identifier [Value] [String] SKMME9E2Y8.com.example.apple-samplecode.Test788807 [Key] com.apple.developer.team-identifier [Value] [String] SKMME9E2Y8 [Key] com.apple.developer.wifi-aware [Value] [Array] [String] Publish [Key] get-task-allow [Value] [Bool] true % security cms -D -i Test788807.app/embedded.mobileprovision | plutil -p - { … Entitlements => { application-identifier => SKMME9E2Y8.com.example.apple-samplecode.Test788807 com.apple.developer.team-identifier =
Jun ’25
Reply to NSLocationRequireExplicitServiceSession
In Xcode select the project in the sidebar, select the target in the first column, select Info in the top tab bar. Under custom iOS Target Properties hover over the table and click plus to add a new row. Enter NSLocationRequireExplicitServiceSession for the key, choose Bool for the type, and choose YES for the value. This is shown the below screenshot:
Jun ’25
Reply to lldbinit file in Xcode
I'd like to answer the second question first. The lldb config file can be selected by editing the Run scheme action. Specifically, use the menu bar, go to Product -> Scheme. Make sure the desired scheme is selected, and click on Edit Scheme.... In the pop up window, select the Run action from the column on the left. Then click on the Info tab. The lldbinit file can be specified through the field in the middle. Going back to the first question. Since we can explicitly specify a path to the lldbinit file, we can place it anywhere in the project. Is this sufficient to get you going? Please let us know and I will follow up. Thanks!
Jun ’25
Reply to Updated HTML and Javascript in HTML
I think it should work. A way to read the columns separately .btn-primary { color: #fff; background-color: #0275d8; border-color: #0275d8; } .btn { display: inline-block; font-weight: 400; line-height: 1.25; text-align: center; white-space: nowrap; vertical-align: middle; -webkit-user-select: none; -moz-user-select: none; -ms-user-select: none; user-select: none; border: 1px solid transparent; padding: .5rem 1rem; font-size: 1rem; border-radius: .25rem; -webkit-transition: all .2s ease-in-out; transition: all .2s ease-in-out; } label { display: inline-block; margin-bottom: .5rem; } //181b1d btn primary background-color: 37474F; .btn-primary.active, .btn-primary:active, .show>.btn-primary.dropdown-toggle { color: #fff; background-color: #025aa5; background-image: none; border-color: #01549b; } .btn-primary.focus, .btn-primary:focus { -webkit-box-shadow: ‪0 0 0 2‬px rgba(2, 117, 216, .5); box-shadow: ‪0 0 0 2‬px rgba(2, 117, 216, .5); } .btn-primary:hover { color: #fff; background-color: #025aa5; bo
Topic: Safari & Web SubTopic: General Tags:
Jun ’25
Can AI Chats in Xcode 26 be Placed In Version Control
Maybe this is a feature request or a toggle that I'm missing. I am currently using the beta and realized that conversations in the left column aren't saved with code commits. Is it possible to save/attach conversations or specific conversations to a PR, even as a separate/exported artifact? The goal is to save the history of those AI chats on commit.
1
0
117
Jun ’25
Instruments Network: Background URLSession instance appears not to complete
As stated in the title. I am running the following code. Each time I perform an API call, I create a new instance of URLSession and use a background-configured session to allow background API calls. ` Code being executed: import Foundation // Model definitions struct RandomUserResponse: Codable { let results: [RandomUser] } struct RandomUser: Codable { let name: Name let email: String } struct Name: Codable { let first: String let last: String } // Fetcher class class RandomUserFetcher: NSObject, URLSessionDataDelegate { private var receivedData = Data() private var completion: ((RandomUser?) -> Void)? private var session: URLSession! func fetchRandomUserInBackground(completion: @escaping (RandomUser?) -> Void) { self.completion = completion let configuration = URLSessionConfiguration.background(withIdentifier: com.example.randomuser.bg) session = URLSession(configuration: configuration, delegate: self, delegateQueue: nil) let url = URL(string: https://randomuser.me/api/ )! let task = session.dataTask(w
3
0
335
Jun ’25
min-height not interpreted preoperly after upgrading iOS 18.4
I have a UI application built with the Vue framework, using Vuetify for the UI components. There's a div with the class v-application--wrap, which is provided by Vuetify. This class internally includes the following style rule. .v-application--wrap { backface-visibility: hidden; display: flex; flex: 1 1 auto; flex-direction: column; max-width: 100%; min-height: 100vh; position: relative; } The pages were rendering correctly up to version 18.3, but after upgrading to version 18.4, we encountered layout issues related to height. Upon investigation, we discovered that the min-height property was no longer being interpreted or applied correctly. Replacing min-height with height resolved the issue, and the pages began loading as expected. Any insights into why this behavior is occurring would be greatly appreciated.
1
0
183
Jun ’25
Reply to How to pass data to FoundationModels with a stable identifier
Try formatting your input text in specific way like for example json or csv and instruct the model to only work on one column. Provide 1 or 2 example as part of the prompt. Experiment with #playground. You can test this with any smaller model on ollama to get the hang of it.
Replies
Boosts
Views
Activity
Jun ’25
Reply to ARKit camera transform orientation vector doesn't match physical device heading (despite `.gravityAndHeading`)
Hello @himanshujnaidu, I can't tell for sure but it sounds like the matrix you show above is different than how you are interpreting it. Camera Transform = simd_float4x4( [ [0.98446155, -0.030119859, 0.172998, 0.0], // column 0 [0.023979114, 0.9990097, 0.037477385, 0.0], // column 1 [-0.17395553, -0.032746706, 0.98420894, 0.0], // column 2 [0.024039675, -0.037087332, -0.22780673, 0.99999994] // column 3 ]) First up, keep in mind that float4x4's init method is column major. So each 'row' in that code is a column in the matrix. So in this case the position of the camera relative to the origin is 0.024039675, -0.037087332, -0.22780673 Second, the upper-left part of the float4x4 matrix is a float3x3 and represents the orientation. The eulerAngles property on the frame.camera re-interprets this 3x3 matrix as the familiar Euler angles. You can find the orientation of the camera relative to the frame via let rotation = frame.camera.eulerAngles rotation.y will be
Topic: Spatial Computing SubTopic: ARKit Tags:
Replies
Boosts
Views
Activity
Jun ’25
SwiftUI Table - Double Click Row While Retaining Single Click Selection Behavior
I have an AppKit application that I'm converting to SwiftUI and I'm having some difficulty understanding how to model a Table with single click and double click behavior. My table is relatively simple, it has 3 columns (possibly more in the future), the first with an icon, and the latter two with text. The two text fields are sortable, and the table requires multi-selection and row-based keybindings (return, delete), as well as double-click. The first surprising thing is that I cannot add those behaviors on the TableRow or even the TableCell but rather the views inside of them. That means the subviews must occupy the entire TableCell or else they will not capture the click event. That means repeating the same gestures for the contents of every cell (or wrapping all with the same view)? The second surprise is that adding an onTapGesture(count: 2) prevents the default row selection gesture from firing. Do I really need to re-implement row selection if I want double click support as well? Adding a onTap
Replies
3
Boosts
0
Views
2.4k
Activity
Sep ’22
Reply to Application is not able to access any keychain info on application launch post device reboot
[quote='844785022, neha24, /thread/788736?answerId=844785022#844785022, /profile/neha24'] Does SecItemDelete should also fail … in case of Device in locked state … right? [/quote] No. The keychain database as a whole is available at all times. Keychain item protection is implemented by encrypting specific attributes of the keychain item. When you read the item, the system goes to decrypt those attributes. If the required key material isn’t available, then the read operation fails. However, the system doesn’t need that key material in order to delete the item, and thus it’s possible to delete an item that you can’t currently access. This makes more sense if you have a little understanding of how the keychain actually works internally. Have a read of SecItem: Fundamentals, and specifically its The Four Freedoms^H^H^H^H^H^H^H^H Functions section. In that model, the content column of a row is encrypted (based on the kSecAttrAccessible column) but that doesn’t stop you from deleting the entire ro
Topic: Privacy & Security SubTopic: General Tags:
Replies
Boosts
Views
Activity
Jun ’25
Extend Family Control permission to app's extensions
I have tried multiple time through multiple channels and you have yet to respond to my request. I am developing an App on xcode APP Bundle ID: garymdmd.MediaPace Apple ID: 6740823496 Apple has granted me distribution use of the Family Control/Screentime module for my main app. According to your engineer's post here: https://developer.apple.com/forums/thread/764919 That permission should be extended to your extensions that are part of the app. When you try to setup the extension identifiers they do not show the added capabilities column that sow sup when getting permission for the main app so you are not able to endow the extension with these permissions which seem to be needed to work with the app. I am trying to add these bundle identifier extensions: garymdmd.MediaPace.ScreenTimeMonitorDuo garymdmd.MediaPace.DeviceActivityReport Can you please tell me how to get this to work or to add permissions to these extensions. I have sent in the request form multiple times (here - https://developer.apple.com
Replies
2
Boosts
0
Views
162
Activity
Jun ’25
Reply to Cannot add Wi-Fi Aware entitlement due to automatic signing failure
Hmmmm, this is working for me. Here’s what I did: Using Xcode 26.0 beta on macOS 15.5, I created a new project from the iOS > App template. In Signing & Capabilities, I added Wi-Fi Aware. And enabled the Publish option. I selected Any iOS Device as my run destination. And then built the app. This is what I see: % codesign -d --entitlements - Test788807.app Executable=/Users/quinn/Library/Developer/Xcode/DerivedData/Test788807-dcmkbvkgvfliviecoruqexidkqbe/Build/Products/Debug-iphoneos/Test788807.app/Test788807 [Dict] [Key] application-identifier [Value] [String] SKMME9E2Y8.com.example.apple-samplecode.Test788807 [Key] com.apple.developer.team-identifier [Value] [String] SKMME9E2Y8 [Key] com.apple.developer.wifi-aware [Value] [Array] [String] Publish [Key] get-task-allow [Value] [Bool] true % security cms -D -i Test788807.app/embedded.mobileprovision | plutil -p - { … Entitlements => { application-identifier => SKMME9E2Y8.com.example.apple-samplecode.Test788807 com.apple.developer.team-identifier =
Replies
Boosts
Views
Activity
Jun ’25
Reply to NSLocationRequireExplicitServiceSession
In Xcode select the project in the sidebar, select the target in the first column, select Info in the top tab bar. Under custom iOS Target Properties hover over the table and click plus to add a new row. Enter NSLocationRequireExplicitServiceSession for the key, choose Bool for the type, and choose YES for the value. This is shown the below screenshot:
Replies
Boosts
Views
Activity
Jun ’25
Reply to lldbinit file in Xcode
I'd like to answer the second question first. The lldb config file can be selected by editing the Run scheme action. Specifically, use the menu bar, go to Product -> Scheme. Make sure the desired scheme is selected, and click on Edit Scheme.... In the pop up window, select the Run action from the column on the left. Then click on the Info tab. The lldbinit file can be specified through the field in the middle. Going back to the first question. Since we can explicitly specify a path to the lldbinit file, we can place it anywhere in the project. Is this sufficient to get you going? Please let us know and I will follow up. Thanks!
Replies
Boosts
Views
Activity
Jun ’25
Reply to The network expansion process will become a zombie process and the network will be unusable.
Are you using zombie in the technical sense used by Unix-y systems? That is, ps ajx shows Z in the STAT column? Or are you just referring to a process that hangs around longer than you expect it to? Share and Enjoy — Quinn “The Eskimo!” @ Developer Technical Support @ Apple let myEmail = eskimo + 1 + @ + apple.com
Replies
Boosts
Views
Activity
Jun ’25
Reply to Updated HTML and Javascript in HTML
I think it should work. A way to read the columns separately .btn-primary { color: #fff; background-color: #0275d8; border-color: #0275d8; } .btn { display: inline-block; font-weight: 400; line-height: 1.25; text-align: center; white-space: nowrap; vertical-align: middle; -webkit-user-select: none; -moz-user-select: none; -ms-user-select: none; user-select: none; border: 1px solid transparent; padding: .5rem 1rem; font-size: 1rem; border-radius: .25rem; -webkit-transition: all .2s ease-in-out; transition: all .2s ease-in-out; } label { display: inline-block; margin-bottom: .5rem; } //181b1d btn primary background-color: 37474F; .btn-primary.active, .btn-primary:active, .show>.btn-primary.dropdown-toggle { color: #fff; background-color: #025aa5; background-image: none; border-color: #01549b; } .btn-primary.focus, .btn-primary:focus { -webkit-box-shadow: ‪0 0 0 2‬px rgba(2, 117, 216, .5); box-shadow: ‪0 0 0 2‬px rgba(2, 117, 216, .5); } .btn-primary:hover { color: #fff; background-color: #025aa5; bo
Topic: Safari & Web SubTopic: General Tags:
Replies
Boosts
Views
Activity
Jun ’25
Rendering HTML tables on iOS
How to allocate the width of each column when customizing the rendering of HTML tables on iOS with limited screen width
Topic: Safari & Web SubTopic: General
Replies
2
Boosts
0
Views
100
Activity
Jun ’25
Can AI Chats in Xcode 26 be Placed In Version Control
Maybe this is a feature request or a toggle that I'm missing. I am currently using the beta and realized that conversations in the left column aren't saved with code commits. Is it possible to save/attach conversations or specific conversations to a PR, even as a separate/exported artifact? The goal is to save the history of those AI chats on commit.
Replies
1
Boosts
0
Views
117
Activity
Jun ’25
Instruments Network: Background URLSession instance appears not to complete
As stated in the title. I am running the following code. Each time I perform an API call, I create a new instance of URLSession and use a background-configured session to allow background API calls. ` Code being executed: import Foundation // Model definitions struct RandomUserResponse: Codable { let results: [RandomUser] } struct RandomUser: Codable { let name: Name let email: String } struct Name: Codable { let first: String let last: String } // Fetcher class class RandomUserFetcher: NSObject, URLSessionDataDelegate { private var receivedData = Data() private var completion: ((RandomUser?) -> Void)? private var session: URLSession! func fetchRandomUserInBackground(completion: @escaping (RandomUser?) -> Void) { self.completion = completion let configuration = URLSessionConfiguration.background(withIdentifier: com.example.randomuser.bg) session = URLSession(configuration: configuration, delegate: self, delegateQueue: nil) let url = URL(string: https://randomuser.me/api/ )! let task = session.dataTask(w
Replies
3
Boosts
0
Views
335
Activity
Jun ’25
Reply to Apple Connect Having Issue Recognizing Routing Numbers
I am having the same issue with the Column N.A. How can we solve this?
Replies
Boosts
Views
Activity
Jun ’25
min-height not interpreted preoperly after upgrading iOS 18.4
I have a UI application built with the Vue framework, using Vuetify for the UI components. There's a div with the class v-application--wrap, which is provided by Vuetify. This class internally includes the following style rule. .v-application--wrap { backface-visibility: hidden; display: flex; flex: 1 1 auto; flex-direction: column; max-width: 100%; min-height: 100vh; position: relative; } The pages were rendering correctly up to version 18.3, but after upgrading to version 18.4, we encountered layout issues related to height. Upon investigation, we discovered that the min-height property was no longer being interpreted or applied correctly. Replacing min-height with height resolved the issue, and the pages began loading as expected. Any insights into why this behavior is occurring would be greatly appreciated.
Replies
1
Boosts
0
Views
183
Activity
Jun ’25