Post

Replies

Boosts

Views

Activity

Reply to Conditionally Adding and Deleting a Row in a UITableView
That's clearer. You are not adding or deleting row, but show or hide a TextField. Declare in storyboard a UITextField, positioned just below the segmented control. Declare it as hidden in the storyboard. Define its delegate (the viewController). Define placeholder as: enter custom tip declare an IBOutlet for this UITextField : tipTextField for instance there is an IBAction associated to the SegmentedControl (valueChanged event) in the IBAction, test for the selection @IBAction func segmentSelection(_ sender: UISegmentedControl) { let selection = sender.selectedSegmentIndex if selection == sender.numberOfSegments - 1 { // The last segment = Any tipTextField.isHidden = false } else { tipTextField.isHidden = true // store the relevant value in a tipValue property } } You should also define and IBAction for the textField, (for EditingDidEnd and for didEndOnExit), that will read the text you have entered and convert to Int to get the tip value. Then save this value in a tipValue property of the ViewController. Hope that helps. Don't forget to close the thread if OK. Otherwise, explain what you are missing.
Topic: UI Frameworks SubTopic: UIKit Tags:
Jun ’25
Reply to Conditionally Adding and Deleting a Row in a UITableView
It is not very clear. Could you post a sketch showing: what are the options (custom and another)? Are there 2 buttons ? Or only one button which behaviour should change depending on the slider value ? which another option is it ? Is the TextField inside TableView row ? when the custom option is tapped, bring up a row immediately below there and have a UITextField You bring up a new row ? Or an existing one ? do you add a TextField, or was it already in the row ? When another option, let's say 10%, is tapped, I want the text field row to go away. Do you want to delete the row ? Or just hide it ? If there is only one button which behaviour change depending on the slider value: in the button action, you test the value of slider if 20% or more, then call mytableView.insertRows(at…) if less, then call mytableView.deleteRows(at…) In both cases, don't forget to update the dataSource.
Topic: UI Frameworks SubTopic: UIKit Tags:
Jun ’25
Reply to App name
If the name is not in the app store, why can't I use the name? May be it is the name of an app available only in another region ; hence you don't see it when you query the appstore from your region ? You should contact Apple support to get clarification.
Jun ’25
Reply to Hy everyone i am newbie developer
Welcome to the forum. But your request for a review of your project is not for the forum. What do you want to be checked ? If you have questions, technical, UI, publishing, … about your app, please ask. provide screenshots if needed. You should read this post on how to properly use the forum: https://developer.apple.com/forums/thread/706527
May ’25
Reply to How to fix an extra whitespace at the top of UIAlertController action sheet on iPad?
As explained here https://developer.apple.com/design/human-interface-guidelines/action-sheets, actionSheet actions are listed at the bottom of the view. So you could try to specify the frame of the alertController to reduce height to fit the 4 actions. More info here: https://stackoverflow.com/questions/26774038/how-to-set-height-and-width-of-a-uialertcontroller-in-ios-8
Topic: UI Frameworks SubTopic: UIKit Tags:
May ’25
Reply to Organizer won't load
unused test app. I'd delete it if I could Did you try to connect to AppstoreConnect, select the app select "App information" in the left menus remove app (link in "Additional information" at the bottom of the page) Thanks to tell if that works and then don't forget to close the thread by marking the answer as correct. Otherwise please explain what you get when you try.
May ’25
Reply to Conditionally Adding and Deleting a Row in a UITableView
That's clearer. You are not adding or deleting row, but show or hide a TextField. Declare in storyboard a UITextField, positioned just below the segmented control. Declare it as hidden in the storyboard. Define its delegate (the viewController). Define placeholder as: enter custom tip declare an IBOutlet for this UITextField : tipTextField for instance there is an IBAction associated to the SegmentedControl (valueChanged event) in the IBAction, test for the selection @IBAction func segmentSelection(_ sender: UISegmentedControl) { let selection = sender.selectedSegmentIndex if selection == sender.numberOfSegments - 1 { // The last segment = Any tipTextField.isHidden = false } else { tipTextField.isHidden = true // store the relevant value in a tipValue property } } You should also define and IBAction for the textField, (for EditingDidEnd and for didEndOnExit), that will read the text you have entered and convert to Int to get the tip value. Then save this value in a tipValue property of the ViewController. Hope that helps. Don't forget to close the thread if OK. Otherwise, explain what you are missing.
Topic: UI Frameworks SubTopic: UIKit Tags:
Replies
Boosts
Views
Activity
Jun ’25
Reply to Conditionally Adding and Deleting a Row in a UITableView
It is not very clear. Could you post a sketch showing: what are the options (custom and another)? Are there 2 buttons ? Or only one button which behaviour should change depending on the slider value ? which another option is it ? Is the TextField inside TableView row ? when the custom option is tapped, bring up a row immediately below there and have a UITextField You bring up a new row ? Or an existing one ? do you add a TextField, or was it already in the row ? When another option, let's say 10%, is tapped, I want the text field row to go away. Do you want to delete the row ? Or just hide it ? If there is only one button which behaviour change depending on the slider value: in the button action, you test the value of slider if 20% or more, then call mytableView.insertRows(at…) if less, then call mytableView.deleteRows(at…) In both cases, don't forget to update the dataSource.
Topic: UI Frameworks SubTopic: UIKit Tags:
Replies
Boosts
Views
Activity
Jun ’25
Reply to App name
If the name is not in the app store, why can't I use the name? May be it is the name of an app available only in another region ; hence you don't see it when you query the appstore from your region ? You should contact Apple support to get clarification.
Replies
Boosts
Views
Activity
Jun ’25
Reply to Safari tarayıcıdan siteye çok fazla istek geliyor
Foruma hoş geldiniz. Sorunuz bir geliştirme ile ilgili değil, bir uygulamanın kullanımı ile ilgili. Lütfen sorunuzu https://discussions.apple.com/welcome adresine gönderin. Your question is not about development, but about app use. You'd better post your question to https://discussions.apple.com/welcome
Topic: Safari & Web SubTopic: General
Replies
Boosts
Views
Activity
May ’25
Reply to Hy everyone i am newbie developer
Welcome to the forum. But your request for a review of your project is not for the forum. What do you want to be checked ? If you have questions, technical, UI, publishing, … about your app, please ask. provide screenshots if needed. You should read this post on how to properly use the forum: https://developer.apple.com/forums/thread/706527
Replies
Boosts
Views
Activity
May ’25
Reply to How to fix an extra whitespace at the top of UIAlertController action sheet on iPad?
As explained here https://developer.apple.com/design/human-interface-guidelines/action-sheets, actionSheet actions are listed at the bottom of the view. So you could try to specify the frame of the alertController to reduce height to fit the 4 actions. More info here: https://stackoverflow.com/questions/26774038/how-to-set-height-and-width-of-a-uialertcontroller-in-ios-8
Topic: UI Frameworks SubTopic: UIKit Tags:
Replies
Boosts
Views
Activity
May ’25
Reply to Organizer won't load
unused test app. I'd delete it if I could Did you try to connect to AppstoreConnect, select the app select "App information" in the left menus remove app (link in "Additional information" at the bottom of the page) Thanks to tell if that works and then don't forget to close the thread by marking the answer as correct. Otherwise please explain what you get when you try.
Replies
Boosts
Views
Activity
May ’25