Post

Replies

Boosts

Views

Activity

Reply to revise your 6.5-inch iPhone screenshots
Where and when do you get this message ? From reviewer ? Or at the moment you try to insert screen shots of your app in AppStore Connect ? If it is a reviewer remark, that means either: that the screenshots are not showing enough of your app and thus are not useful enough to those you see them on the AppStore. that the screenshots were not from an 6.5" iPhone. You should have at least 4 screenshots, showing different functions of your app. Note: what is different between your 6.5" screenshots and those of other size ?
Oct ’21
Reply to collectionView and arrays (3 part question)
How do you display it onto that modal view in the same View controller? You could simply create a hidden view (with fields for holding the detail) in this viewController ; when you tap on cell, load the detail and unhide the view. How can you cycle (loop) a group of arrays via UILabel forward and backward What do you mean by via UILabel forward and backward ? I just don't understand. How do you filter the arrays so that it always shows with a specific cell? (eg: Cell 2 will always have "D, E, F" when scrolling through) If you set a tag on each cell (start from 0), then myArray[cell.tag] will give you what you need. cell.dayOfMonth.text = totalSquares[indexPath.item] cell.tag = indexPath.row
Topic: Programming Languages SubTopic: Swift Tags:
Oct ’21
Reply to collectionView and arrays (3 part question)
what do that block of code look like? Block for doing what ? By forward and backward, I mean by scrolling the views (of UILabels), the labels are populated with said [arrays.] So there is always a single cell visible ? Could explain more in detail what you wnt to achiev, explain what is the set up ? normally, using myArray[ indexPath.row ] to feed the cell lablel in func collectionView(_ collectionView: UICollectionView, cellForItemAt indexPath: IndexPath) -> UICollectionViewCell should be enough.
Topic: Programming Languages SubTopic: Swift Tags:
Oct ’21
Reply to iPhone only app
The app will at least work on iPad in « small screen » mode. but you can define in Xcode your app as being iPhone only. just select the project name in the left pane of Xcode, select Project tab and select iPhone. For more estriction, see here: https://stackoverflow.com/questions/10767346/xcode-how-to-set-app-to-be-iphone-only
Oct ’21
Reply to How to add different actions to rightCalloutAcessoryView button for each annotation?
Did you try to: set a tag for each annotation use it to set the target use different func if needed for left button switch annotation.tag { case 0: rightButton.addTarget(self, action: #selector(didClickDetailDisclosure0(button:)), for: .touchUpInside) case 1: rightButton.addTarget(self, action: #selector(didClickDetailDisclosure1(button:)), for: .touchUpInside) // etc … You could also define an array of func didClickDetailDisclosure
Topic: UI Frameworks SubTopic: UIKit Tags:
Oct ’21
Reply to How can I use a custom image for a Swift button but still control the text separately?
What do you want to get ? Text inside the image or below ? If so, read here: https://developer.apple.com/documentation/uikit/uibutton But in your case, that's normal: the image was hiding the text. If you set as background, then text appear. You could also: set alpha for the image to 0.5: text would appear dimmed add a label atop the image with the text of the button (its title). Problem may be the visual effect when you push button. It would help to see your code of createButton (starting with lowercase !)
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Oct ’21
Reply to How to add different actions to rightCalloutAcessoryView button for each annotation?
What do you mean by setting a tag to each annotation? Unfortunately, you cannot add the tag directly. What I did was to use the title to add this information. Either with an explicit number (at the beginning or at the end). That's what you do if you give title as One, Two… I used a trick to add sequence of invisible characters (space and optionSpace) You could modify findPlace for this: func findPlace(_ miejsca: [Place]) { for (i, place) in places.enumerated() { let annotations = MKPointAnnotation() annotations.title = String(i) + "-" + place.name // initial chars before "-" give the "tag" annotations.subtitle = place.description annotations.coordinate = CLLocationCoordinate2D(latitude: place.lattitude, longitude: place.longtitude) mapView.addAnnotation(annotations) } } Then, in func mapView(_ mapView: MKMapView, viewFor annotation: MKAnnotation) -> MKAnnotationView? { You retrieve this Int at the beginning to use in the switch case. You do not show the different didClickDetailDisclosure. You could have: // for VC1 @objc func didClickDetailDisclosure1(button: UIButton) { guard let vc = storyboard?.instantiateViewController(withIdentifier: "kopuly_vc1") as? KopulyController else { return } present(vc, animated: true) } // for VC2 @objc func didClickDetailDisclosure2(button: UIButton) { guard let vc = storyboard?.instantiateViewController(withIdentifier: "kopuly_vc2") as? KopulyController else { return } present(vc, animated: true) } Hope that's clear.
Topic: UI Frameworks SubTopic: UIKit Tags:
Oct ’21
Reply to revise your 6.5-inch iPhone screenshots
Where and when do you get this message ? From reviewer ? Or at the moment you try to insert screen shots of your app in AppStore Connect ? If it is a reviewer remark, that means either: that the screenshots are not showing enough of your app and thus are not useful enough to those you see them on the AppStore. that the screenshots were not from an 6.5" iPhone. You should have at least 4 screenshots, showing different functions of your app. Note: what is different between your 6.5" screenshots and those of other size ?
Replies
Boosts
Views
Activity
Oct ’21
Reply to iOS 15 LaunchScreen.storyboard do not show on iPhone 11 series
Check your info.plist (you could post it here). Did you define a Scene Manifest in info.plist ?
Topic: App & System Services SubTopic: Hardware Tags:
Replies
Boosts
Views
Activity
Oct ’21
Reply to Support
What do you mean by support number ? Phone number for support ? There is not such a thing. But bthere is "Contact Us" at the bottom of this page.
Topic: Graphics & Games SubTopic: GameKit Tags:
Replies
Boosts
Views
Activity
Oct ’21
Reply to Unclear crash - [UIApplication sendAction: to: from: forEvent:]
Could you show the relevant code of ManualReportViewController ? In particular pauseTap. Please provide enough code so that we can understand the context.
Topic: Programming Languages SubTopic: Swift Tags:
Replies
Boosts
Views
Activity
Oct ’21
Reply to App will notrunon Simulator
Could you show what Architectures you have in your project build settings ?
Replies
Boosts
Views
Activity
Oct ’21
Reply to collectionView and arrays (3 part question)
How do you display it onto that modal view in the same View controller? You could simply create a hidden view (with fields for holding the detail) in this viewController ; when you tap on cell, load the detail and unhide the view. How can you cycle (loop) a group of arrays via UILabel forward and backward What do you mean by via UILabel forward and backward ? I just don't understand. How do you filter the arrays so that it always shows with a specific cell? (eg: Cell 2 will always have "D, E, F" when scrolling through) If you set a tag on each cell (start from 0), then myArray[cell.tag] will give you what you need. cell.dayOfMonth.text = totalSquares[indexPath.item] cell.tag = indexPath.row
Topic: Programming Languages SubTopic: Swift Tags:
Replies
Boosts
Views
Activity
Oct ’21
Reply to collectionView and arrays (3 part question)
what do that block of code look like? Block for doing what ? By forward and backward, I mean by scrolling the views (of UILabels), the labels are populated with said [arrays.] So there is always a single cell visible ? Could explain more in detail what you wnt to achiev, explain what is the set up ? normally, using myArray[ indexPath.row ] to feed the cell lablel in func collectionView(_ collectionView: UICollectionView, cellForItemAt indexPath: IndexPath) -> UICollectionViewCell should be enough.
Topic: Programming Languages SubTopic: Swift Tags:
Replies
Boosts
Views
Activity
Oct ’21
Reply to iPhone only app
The app will at least work on iPad in « small screen » mode. but you can define in Xcode your app as being iPhone only. just select the project name in the left pane of Xcode, select Project tab and select iPhone. For more estriction, see here: https://stackoverflow.com/questions/10767346/xcode-how-to-set-app-to-be-iphone-only
Replies
Boosts
Views
Activity
Oct ’21
Reply to How to add different actions to rightCalloutAcessoryView button for each annotation?
Did you try to: set a tag for each annotation use it to set the target use different func if needed for left button switch annotation.tag { case 0: rightButton.addTarget(self, action: #selector(didClickDetailDisclosure0(button:)), for: .touchUpInside) case 1: rightButton.addTarget(self, action: #selector(didClickDetailDisclosure1(button:)), for: .touchUpInside) // etc … You could also define an array of func didClickDetailDisclosure
Topic: UI Frameworks SubTopic: UIKit Tags:
Replies
Boosts
Views
Activity
Oct ’21
Reply to iOS 14.7.1 & above creating issues/crashes
I would contact ASAP both Apple Support and Unity support. One of them should have the clue. Did you find a pattern for the crash ? How much memory available on device ?
Topic: Business & Education SubTopic: General Tags:
Replies
Boosts
Views
Activity
Oct ’21
Reply to How can I use a custom image for a Swift button but still control the text separately?
What do you want to get ? Text inside the image or below ? If so, read here: https://developer.apple.com/documentation/uikit/uibutton But in your case, that's normal: the image was hiding the text. If you set as background, then text appear. You could also: set alpha for the image to 0.5: text would appear dimmed add a label atop the image with the text of the button (its title). Problem may be the visual effect when you push button. It would help to see your code of createButton (starting with lowercase !)
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Oct ’21
Reply to Approval rejected: The review of your app is taking longer than expected
There is probably some concern with your app or with your account that they want to verify before final answer.
Replies
Boosts
Views
Activity
Oct ’21
Reply to How to add different actions to rightCalloutAcessoryView button for each annotation?
What do you mean by setting a tag to each annotation? Unfortunately, you cannot add the tag directly. What I did was to use the title to add this information. Either with an explicit number (at the beginning or at the end). That's what you do if you give title as One, Two… I used a trick to add sequence of invisible characters (space and optionSpace) You could modify findPlace for this: func findPlace(_ miejsca: [Place]) { for (i, place) in places.enumerated() { let annotations = MKPointAnnotation() annotations.title = String(i) + "-" + place.name // initial chars before "-" give the "tag" annotations.subtitle = place.description annotations.coordinate = CLLocationCoordinate2D(latitude: place.lattitude, longitude: place.longtitude) mapView.addAnnotation(annotations) } } Then, in func mapView(_ mapView: MKMapView, viewFor annotation: MKAnnotation) -> MKAnnotationView? { You retrieve this Int at the beginning to use in the switch case. You do not show the different didClickDetailDisclosure. You could have: // for VC1 @objc func didClickDetailDisclosure1(button: UIButton) { guard let vc = storyboard?.instantiateViewController(withIdentifier: "kopuly_vc1") as? KopulyController else { return } present(vc, animated: true) } // for VC2 @objc func didClickDetailDisclosure2(button: UIButton) { guard let vc = storyboard?.instantiateViewController(withIdentifier: "kopuly_vc2") as? KopulyController else { return } present(vc, animated: true) } Hope that's clear.
Topic: UI Frameworks SubTopic: UIKit Tags:
Replies
Boosts
Views
Activity
Oct ’21
Reply to iPhone update
If you open the settings in your iPhone, go to General. you should find there a Software updatetab to update iOS.
Topic: App & System Services SubTopic: Core OS Tags:
Replies
Boosts
Views
Activity
Oct ’21
Reply to How to change the company icon on the App Store
Did anyone get the solution ?
Replies
Boosts
Views
Activity
Oct ’21