Post

Replies

Boosts

Views

Activity

Reply to searchable: Add an auxilliary search view
Not sure I understand. Once search is completed, does isSearching turn to false ? Then it is normal that the search View disappears. Do you want to keep the SearchView always visible ? If so, I see at least 2 options: remove the if isSearching test add a view when isSearching is false if isSearching { VStack {...my auxilliary view...} } else { // Call a View of the same height than your auxilliary View }
Topic: UI Frameworks SubTopic: SwiftUI
Sep ’24
Reply to "Sign in with Apple" logo - how to make personalized for MacOS?
You have ways to customise le Sign In as described here : https://developer.apple.com/design/human-interface-guidelines/sign-in-with-apple#sign-in-with-apple-buttons   using my customized logo What customisation do you want ? You cannot create your own logo but only use Apple provided icons, as explained in the document: Use only the logo artwork downloaded from Apple Design Resources; never create a custom Apple logo.
Topic: Privacy & Security SubTopic: General Tags:
Sep ’24
Reply to Debugger messages not showing
As "killed" is displayed, that shows that messages are sent and displayed. When you speak of debugger console, do you mean the window at the bottom right of Xcode ? What messages are you expecting ? Are they print() ? Did you check you have no filter active in the console ? Could you show the code for which you would expect messages in the log ?
Sep ’24
Reply to Swiftui Bug - Button (only top part is clickable)
I've no sure explanation, but it seems that the TabView is overlaying the button and intercepting the taps. I made it work by adding a Spacer: struct ContentView: View { var body: some View { VStack(spacing: 0) { ScrollView(.horizontal) { HStack { Button(action: {print("Button tapped")}, label: { ZStack { Color.green Text("Button") .padding(8) .contentShape(Rectangle()) } }) } } .background(Color.blue) .frame(height: 40) Spacer() // <<-- ADDED this TabView { ZStack { Color.yellow Text("my view") } .onTapGesture { print("View tapped") } } } .background(Color.yellow) // <<-- ADDED this so that Spacer is yellow as well and not white } } You could file a bug report if you don't get a better explanation here.
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Sep ’24
Reply to iOS 17.6.1 vs app issue
How are you concluded that the problem comes from the app ? Did the user repeat the test after closing the app ? When you tested the app, did you check in Xcode for processor use ?
Topic: Design SubTopic: General Tags:
Sep ’24
Reply to Software
There isn't even a question on your post which is totally incomprehensible and waste of time of those who look at it.. What is the purpose of the huge (uselessly huge) screenshot ? As you seem new at posting on the forum, you should read carefully the good practices: https://developer.apple.com/forums/thread/706527 Have a good day.
Sep ’24
Reply to Getting Rejected for more than 5 months!
Welcome to the forum. Specifically, this app is available in the same locations as another identical app you submitted to the App Store. That's whet the reviewer has detected (and may be several reviewers as you explain that this lasts for 5 months). Is it the case ? Do you see what is the other app the reviewer has in mind ?   i have made a lot of changes but still getting me that. What type of changes ? If it is only the look but the functionality and content are very similar, that will not solve the issue. If the changes are significant, then you should clearly and convincingly explain it in the comments to reviewer in the Appstore Connect submission form. It is then a good practice to explain also in the other app, next time you will update it.   i have had appeal and submit evidence that my app is unique but still not. Is it unique or does it have unique features compared to the other app ? It is crucial to be clear and straightforward when giving information to reviewers and not pretend what would obviously not be the case (app uniqueness)
Aug ’24
Reply to How to create another instance of Data without copy
Interesting question to learn about the internals of Swift (may be you should also ask on Swift.org). IMHO it is hazardous to try to guess what will be copied or not. You seen this in the doc about the initialiser: If the result is mutated and is not a unique reference, then the Data will still follow copy-on-write semantics. In this case, the copy will use its own deallocator. Therefore, it is usually best to only use this initializer when you either enforce immutability with let or ensure that no other references to the underlying data are formed. I have a few questions: when, in your code, would data be copied ? what is the problem (too large data ?) why not use a class type to be sure you pass reference
Topic: Programming Languages SubTopic: Swift Tags:
Aug ’24
Reply to searchable: Add an auxilliary search view
Not sure I understand. Once search is completed, does isSearching turn to false ? Then it is normal that the search View disappears. Do you want to keep the SearchView always visible ? If so, I see at least 2 options: remove the if isSearching test add a view when isSearching is false if isSearching { VStack {...my auxilliary view...} } else { // Call a View of the same height than your auxilliary View }
Topic: UI Frameworks SubTopic: SwiftUI
Replies
Boosts
Views
Activity
Sep ’24
Reply to "Sign in with Apple" logo - how to make personalized for MacOS?
You have ways to customise le Sign In as described here : https://developer.apple.com/design/human-interface-guidelines/sign-in-with-apple#sign-in-with-apple-buttons   using my customized logo What customisation do you want ? You cannot create your own logo but only use Apple provided icons, as explained in the document: Use only the logo artwork downloaded from Apple Design Resources; never create a custom Apple logo.
Topic: Privacy & Security SubTopic: General Tags:
Replies
Boosts
Views
Activity
Sep ’24
Reply to Debugger messages not showing
As "killed" is displayed, that shows that messages are sent and displayed. When you speak of debugger console, do you mean the window at the bottom right of Xcode ? What messages are you expecting ? Are they print() ? Did you check you have no filter active in the console ? Could you show the code for which you would expect messages in the log ?
Replies
Boosts
Views
Activity
Sep ’24
Reply to Swiftui Bug - Button (only top part is clickable)
I've no sure explanation, but it seems that the TabView is overlaying the button and intercepting the taps. I made it work by adding a Spacer: struct ContentView: View { var body: some View { VStack(spacing: 0) { ScrollView(.horizontal) { HStack { Button(action: {print("Button tapped")}, label: { ZStack { Color.green Text("Button") .padding(8) .contentShape(Rectangle()) } }) } } .background(Color.blue) .frame(height: 40) Spacer() // <<-- ADDED this TabView { ZStack { Color.yellow Text("my view") } .onTapGesture { print("View tapped") } } } .background(Color.yellow) // <<-- ADDED this so that Spacer is yellow as well and not white } } You could file a bug report if you don't get a better explanation here.
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Sep ’24
Reply to iOS 17.6.1 vs app issue
How are you concluded that the problem comes from the app ? Did the user repeat the test after closing the app ? When you tested the app, did you check in Xcode for processor use ?
Topic: Design SubTopic: General Tags:
Replies
Boosts
Views
Activity
Sep ’24
Reply to How to delete the posts you have posted on the forum?
Simple answer: impossible. What you can do: in the first hour after the post, Edit it and modify title (as "erroneous post) and replace the content by a simple "deleted" ask the moderator to remove it, but this is not granted.
Replies
Boosts
Views
Activity
Sep ’24
Reply to "applicationWillTerminate" not called
Congrats. But maybe what you found can be of interest for others ? That's a good practice on the forum to explain how and issue was solved. Not only announce it was solved (which doesn't really matter for other developers)
Topic: Design SubTopic: General Tags:
Replies
Boosts
Views
Activity
Sep ’24
Reply to drag and drop cards
Could you show the code that is expected to display the object ? That would help to help…
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Sep ’24
Reply to Code with Swift Assist
You will not get any precise date before an official announcement. Thos who know won't tell, those who tell don't know. So that's just a question to get rumours and unverified answers. Anyway, end of year is just in less than 4 months.
Replies
Boosts
Views
Activity
Sep ’24
Reply to Which components does the controlSize modifier work on
According to this: https://stackoverflow.com/questions/78409547/why-controlsize-property-is-not-working-in-swiftui On iOS and Mac Catalyst, only buttons are affected But I tested the example given in the doc, without any visible effect. You should file a bug report against documentation.
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Sep ’24
Reply to Software
There isn't even a question on your post which is totally incomprehensible and waste of time of those who look at it.. What is the purpose of the huge (uselessly huge) screenshot ? As you seem new at posting on the forum, you should read carefully the good practices: https://developer.apple.com/forums/thread/706527 Have a good day.
Replies
Boosts
Views
Activity
Sep ’24
Reply to Migrating SwiftUI lifecycle to UIKit's
What DTS engineer said, plus an idea there. Have you created a Scene Manifest in the info.plist. It should look like this: Note: interesting to see a case of migrating from SwiftUI to UIKit… Most often we see the reverse.
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Aug ’24
Reply to Getting Rejected for more than 5 months!
Welcome to the forum. Specifically, this app is available in the same locations as another identical app you submitted to the App Store. That's whet the reviewer has detected (and may be several reviewers as you explain that this lasts for 5 months). Is it the case ? Do you see what is the other app the reviewer has in mind ?   i have made a lot of changes but still getting me that. What type of changes ? If it is only the look but the functionality and content are very similar, that will not solve the issue. If the changes are significant, then you should clearly and convincingly explain it in the comments to reviewer in the Appstore Connect submission form. It is then a good practice to explain also in the other app, next time you will update it.   i have had appeal and submit evidence that my app is unique but still not. Is it unique or does it have unique features compared to the other app ? It is crucial to be clear and straightforward when giving information to reviewers and not pretend what would obviously not be the case (app uniqueness)
Replies
Boosts
Views
Activity
Aug ’24
Reply to How to create another instance of Data without copy
Interesting question to learn about the internals of Swift (may be you should also ask on Swift.org). IMHO it is hazardous to try to guess what will be copied or not. You seen this in the doc about the initialiser: If the result is mutated and is not a unique reference, then the Data will still follow copy-on-write semantics. In this case, the copy will use its own deallocator. Therefore, it is usually best to only use this initializer when you either enforce immutability with let or ensure that no other references to the underlying data are formed. I have a few questions: when, in your code, would data be copied ? what is the problem (too large data ?) why not use a class type to be sure you pass reference
Topic: Programming Languages SubTopic: Swift Tags:
Replies
Boosts
Views
Activity
Aug ’24
Reply to Controller app cannot be approved because it does not meet Minimum Functionality?
I may not miss something. Where does the camera app run, in which device ? If it is in an iPad, why don't you include the controller app inside camera app. And let user configure on his devices as "Camera" or "Controller" ?
Replies
Boosts
Views
Activity
Aug ’24