Posts

Post not yet marked as solved
1 Replies
328 Views
I used a TExtView to display a non-editable multiline text. TextView's text is present on Main.string files (from Main.storyboard) but I'm unable to have it used. Is textView.text = NSLocalizedString(...) the correct way to translate TextView? If so, way it is present on the string file?
Posted
by Luca_65.
Last updated
.
Post marked as solved
4 Replies
1.4k Views
I prepared a serie of screenshoots (4 per localizations on the required sizes), taken directly from the simulators.After some upload App Store Connect refuse to upload new images.Of course the images resolution are all the same, as all are taken from the same simulator.I tryied also to upload a screenshoto taken from my iPhone and then changed insize to adapt it to the requirements.There are requirements over the image size?
Posted
by Luca_65.
Last updated
.
Post marked as solved
2 Replies
283 Views
In the App Store section the app version is in Prepare for submission.The build in it is number 3.I loaded build 4.The "+" sign on the left of the "Build" Label is missing.Have I to delete the build 3 from the App store section before set the build 4?
Posted
by Luca_65.
Last updated
.
Post marked as solved
1 Replies
674 Views
I signed in the "App Store Connect" as individual, not as a company. Working on an update of an app, already on the App store, I noticed that in the "App Store Connect", section "Manage Agreements, Tax and Banking", the status for app for a price is active but yellow waiting to set up contacts.Which contact forms have I to fill in with my data? Admin? Finance? Legal?
Posted
by Luca_65.
Last updated
.
Post marked as solved
4 Replies
433 Views
Managing my first app I'm confused with the App Store Connect workflow, pehaps I did a mistake.In AppStoreConnect/MyApp I have App version 1.0.0 only, its status is "Pending Developer Release".In "activity" there are two versions: 1.0.0 (Pending Developer Release) and 1.0.1 (no app store status).I need to update a new build correcting a bug.A new build validation on xCode fails:This bundle is invalid. The value for key CFBundleShortVersionString [1.0.0] in the Info.plist file must contain a higher version than that of the previously approved version [1.0.0]. Please find more information about CFBundleShortVersionString at https://developer.apple.com/documentation/bundleresources/information_property_list/cfbundleshortversionstringCreating a new version is not allowed (the option is grayed out) perhaps because the status is not "Ready for Sale” or "Developer Removed from Sale".I would upload a new build or version to be verified by TestFlight tester before put it on sale.How can I exit from this situation?Thank you very much
Posted
by Luca_65.
Last updated
.
Post not yet marked as solved
0 Replies
208 Views
By default UITextField became first responder, so the keyboard appears on iOS, on tap.This behaviour can be too sensitive, a unwanted tap activate the keyboard.How can be configured UITextField to be sensible only on a long tap?
Posted
by Luca_65.
Last updated
.
Post not yet marked as solved
8 Replies
3.6k Views
I would add a header, UITableViewHeaderFooterView, to a table, UITableView.I would design it in IB and then use dequeueReusableHeaderFooterView, but any attempt failed for various reasons.Have I to add a UIView in the main Storyboard, o prepare a new dedicated storyboard, or a xib file?How to connect it to the swift code?Thanks
Posted
by Luca_65.
Last updated
.
Post not yet marked as solved
0 Replies
597 Views
This code in applicationDidFinishLaunchingWithOptions window?.tintColor = .red window?.backgroundColor = .greenchange the default views tint color, not the background color, of my whole application, which is a double view with table view.The default text color is a black "Color Dark Text" in label texts, and a black "Color default" in text fields.Is there a way to programmatically change all the defaults color, foreground and background?
Posted
by Luca_65.
Last updated
.
Post marked as solved
3 Replies
1.5k Views
Define the cell's accessory colors is possible:func tableView(_ tableView: UITableView, cellForRowAt indexPath: IndexPath) -> UITableViewCell { guard let cell = tableView.dequeueReusableCell(withIdentifier: "myCell", for: indexPath) as? MyCell else {fatalError("Could not dequeue a cell")} // cell.accessoryType = UITableViewCell.AccessoryType.disclosureIndicator // > cell.accessoryType = UITableViewCell.AccessoryType.detailDisclosureButton // (i) > // cell.accessoryType = UITableViewCell.AccessoryType.checkmark // v // cell.accessoryType = UITableViewCell.AccessoryType.detailButton // (i) cell.backgroundColor = .green cell.tintColor = .red }But in any case the chevron only remain gray.Is it a bug or there is a reason for that?
Posted
by Luca_65.
Last updated
.
Post not yet marked as solved
0 Replies
558 Views
I wrote this code to add an image, a glyph, to a Button's title:let myAttribute: [NSAttributedString.Key : Any] = [ .foregroundColor : UIColor.yellow ] let myAttrString1 = NSMutableAttributedString(string: "", attributes: myAttribute) let image1Attachment = NSTextAttachment() image1Attachment.image = UIImage(named: "myImage") let image1String = NSAttributedString(attachment: image1Attachment) myAttrString1.append(image1String) myButton.setAttributedTitle(myAttrString1, for : UIControl.State.normal) let myAttrString2 = NSAttributedString(string: "selected", attributes: myAttribute) myButton.setAttributedTitle(myAttrString2, for: UIControl.State.selected)How can I change the glyph color?The color of the same glyph added as the Button Image follow setTitleColor but I'm not able to change the glyph color when in the attributed text.
Posted
by Luca_65.
Last updated
.
Post marked as solved
8 Replies
3k Views
I'm trying to use a pickerView in a TableCell; I was able to use it in a simple view, but when I replicate in a table cell the iOS simulator abort(signal SIGABRT) with the following message:2018-06-06 07:13:50.747379+0200 pickerCell[2558:118616] -[pickerCell.TableViewController numberOfComponentsInPickerView:]: unrecognized selector sent to instance 0x7ffb15609df02018-06-06 07:13:50.752810+0200 pickerCell[2558:118616] *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[pickerCell.TableViewController numberOfComponentsInPickerView:]: unrecognized selector sent to instance 0x7ffb15609df0'What I'm missing?Thanks.
Posted
by Luca_65.
Last updated
.