Posts

Post not yet marked as solved
1 Replies
69 Views
Hi there, The problem is that when I just drag and change the position of my label in xib, it does not effect properly in my app. @IBOutlet weak var Example: UILabel! is connected to the label in xib file. In total there are 3 labels, so I want to see them normal, but now it looks like the first label is inside the second label. The second and third label has huge spacing, and they are in very center. The first label is on very left side. Appreciate your ideas.
Posted
by Rasi100.
Last updated
.
Post not yet marked as solved
2 Replies
87 Views
The app has login page, to be able to login user clicks on the animation "Select your country". When user clicks on that, country list as picker appears as pop-up. Here the first country is Afghanistan and the picker is already on it, but when user clicks OK, it does not select it because as you know picker works if you scroll down or up. Now I want to set the first object (in my case it is Afghanistan) from the array default selected. Here is the code: @IBAction func chooseCountryClicked(_ sender: Any) { let alert = AlertFactory.alert(title: ExampleLocalizedString.getLocalizedString("choose_country"), pickerStrategy: CountryPickerStrategy(withInitialCode: selectedCountryCode), delegate: self) self.present(alert, animated: false, completion: nil) } I have a variable for: var selectedCountryCode: String? I hope that I explained myself good enough. Appreciate your help. Thanks.
Posted
by Rasi100.
Last updated
.
Post marked as solved
2 Replies
73 Views
Is there a way to change UISwitch from right to left? Because in the app the UISwitch is on the right side. I want to place it on the left side.
Posted
by Rasi100.
Last updated
.
Post not yet marked as solved
1 Replies
52 Views
How to make address style as following: Street name + Street number? For some countries it shows like street name + street number but for some countries (like France, USA, Canada), it shows street number + street name. What is the reason behind?
Posted
by Rasi100.
Last updated
.