Post

Replies

Boosts

Views

Activity

Comment on How we can use alert menu before delete list items in SwiftUI?
@Claude31, I am app like that but it is not work, ` Button(action: {   showingAlert = true }) { Text("delete") }   .alert(isPresented:$showingAlert) {                     Alert(                       title: Text("Are you sure you want to delete this?"),                       message: Text("There is no undo"),                       primaryButton: .destructive(Text("Delete")) {                      self.delete(item: data)                       },                       secondaryButton: .cancel()                     )                   }`
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Feb ’22
Comment on Why I get notification always in macbook in top right corner?
no it says "Background items added ", on right top corner
Topic: App & System Services SubTopic: Core OS Tags:
Replies
Boosts
Views
Activity
Jan ’23
Comment on Why apple reject webview for Swift App?
no I mean apple reject apps which they consist full of WKWebView, and especially WKWebView has payment process, apple do not accept like that process , developer say that
Topic: Programming Languages SubTopic: Swift Tags:
Replies
Boosts
Views
Activity
Mar ’22
Comment on How can I use custom image instead of the ImagePicker in SwiftUI?
@MobileTen, tnx for ur answer, but are sure u understand the question?
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Mar ’22
Comment on Why I am not able to use two screen for registration in SwiftUI?
@nocsi, is it possible give clear example
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Mar ’22
Comment on why it say "Extra arguments at positions #3 , #4 in call" in SwiftUI?
@Claude31, yes you are right
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Mar ’22
Comment on Why it is throw an error as "Return from initializer without initializing all stored properties" in SwiftUI?
@robnotyou, I know it, but how we will solve it?
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Mar ’22
Comment on Why it throw ab error as a "Cannot find 'state' in scope" in SwiftUI project?
@Claude31, I put  @ObservedObject var state: AppState, but it is not work
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Mar ’22
Comment on How can I use multiple `.alert` dialog in SwiftUI?
@Claude31, is there any way?
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Mar ’22
Comment on How can I use multiple `.alert` dialog in SwiftUI?
@Claude31, inside of the .context menu .alert not work I have to write outside, but in outside just one .alert work
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Mar ’22
Comment on How can I use multiple `.alert` dialog in SwiftUI?
@Claude31, how I will use   self.delete(item: data),      and   self.datas.removeAll() inside of the here ` .alert(item: $info, content: { info in // 5 Alert(title: Text(info.title), message: Text(info.message)) })`
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Mar ’22
Comment on How can I use multiple `.alert` dialog in SwiftUI?
@Claude31, it example code I found on internet, I guess I have to write my code according to this example, but I do not know how?
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Mar ’22
Comment on How can I use multiple `.alert` dialog in SwiftUI?
@Claude31, it is not same question, I mean .alert not work for two button, it is just work for one, for example it delete all row, but for singel row it is not work, the problem is due to I have two .aler dialog, I have to use it with switch case I guess, but how?
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Mar ’22
Comment on How we can use alert menu before delete list items in SwiftUI?
@Claude31, it is delete list item, but delete randomly, when I meet with this error, when I used alert, it throw this error, I guess problem is start with .alert function
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Feb ’22
Comment on How we can use alert menu before delete list items in SwiftUI?
@Claude31, how I will apply to my project, because I am still do not understand, how to apply
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Feb ’22
Comment on How we can use alert menu before delete list items in SwiftUI?
@Claude31, I am app like that but it is not work, ` Button(action: {   showingAlert = true }) { Text("delete") }   .alert(isPresented:$showingAlert) {                     Alert(                       title: Text("Are you sure you want to delete this?"),                       message: Text("There is no undo"),                       primaryButton: .destructive(Text("Delete")) {                      self.delete(item: data)                       },                       secondaryButton: .cancel()                     )                   }`
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Feb ’22