Post

Replies

Boosts

Views

Activity

Reply to my site is not loading on apple mobile phones
it's not loading perfectly on apply smartphones You mean Apple I guess. What occurs exactly. Not perfectly is too vague. . is there any need of code changes?  Please post the code in question. What is the link with ApplePay ? Note: you posted this same question 5 times at least. No need for this. If you have further information to provide, just answer or comment your own question with additional information.
Nov ’21
Reply to mapItem.openInMaps Unknown Location
Likely the coordinates are not recognised as a specific location. Try this: class AnnotationButton: UIButton {     var annotation: MKPointAnnotation?     var mapItem: MKMapItem { let placemark = MKPlacemark(coordinate: self.coordinate) // You do not show full class, so I hope self points to the right object let mapItem = MKMapItem(placemark: placemark) mapItem.name = annotation?.title ?? "unknown" // Provide the name of the destination in the To: field         return mapItem     } } Note: Having the extension far away from class definition makes it harder to read. I personally prefer, for such a simple class, to include the extension inside. When you post code, please use Paste and Match Style to avoid all the extra blank lines.
Topic: Programming Languages SubTopic: Swift Tags:
Nov ’21
Reply to mapItem.openInMaps Unknown Location
Well, if you prefer a class extension, you can do it that way: extension MKPointAnnotation {     var mapItem: MKMapItem { let placemark = MKPlacemark(coordinate: self.coordinate) let mapItem = MKMapItem(placemark: placemark) mapItem.name = self.annotation?.title ?? "unknown" // Provide the name of the destination in the To: field         return mapItem     } }
Topic: Programming Languages SubTopic: Swift Tags:
Nov ’21
Reply to MacOS Big Sur bricked My Macbook
Apple has now issued instructions on how to recover these machines, which are as follows: https://support.apple.com/en-asia/HT204267 If your Mac doesn't turn on If your Mac doesn't seem to turn on after you press the power button, follow these steps. Your Mac might be turned on but appear to be turned off, even though it's connected to AC power and a working display. Follow these steps. Press and hold the power button on your Mac for at least 10 seconds, then release. If your Mac is turned on, this forces it to turn off. If you see no change on your Mac, press and release the power button normally. If your Mac now turns on but doesn't finish starting up, follow the steps for when your Mac doesn't start up all the way. If your Mac still doesn't turn on, please contact Apple Support. Published Date: May 04, 2021
Topic: App & System Services SubTopic: Core OS Tags:
Nov ’21
Reply to Can I identify the main colors in an image?
The questions asked in the other post https://developer.apple.com/forums/thread/94324 do apply to yours. Do you want to have a statistics of colors used, if so Core ML is not the right way to go, or detect shapes and find their dominant colors (here a combination of Core ML and stats would be appropriate). However a basic stats on colors may not be very efficient (too many colors). What you could try: analyse the image colors, point per point map it in a 3D space (x for red, y for green, z for blue) That will give a cloud of points Then you could try to perform some cluster analysis to find the main color clusters. Core ML could be used : h t t p s : / / medium.com/nerd-for-tech/core-ml-e840938a55d9 and open source to do it: h t t p s : / / awesomeopensource.com/project/eheitfield/SwiftCluster?categoryPage=41
Topic: Media Technologies SubTopic: General Tags:
Nov ’21
Reply to Any good tutorials for new app setup flows?
how folks place the launch hooks and decide what views to show given whether it's a users first open of the app, or whether they have completed some required setup step You may have a lot of approaches to this. So my own one. The initial screen should be very appealing to user. So I don't start with a settings screen which is a bit boring This initial view is the top level to navigate, giving access to a few other view In this view (once again, you should make it pleasant to look and related to the goal of your app) a few buttons (3 to 5), at the bottom, to access the main functions one of them may be to go to the settings view, but app should work even before this another goes to the main function of your app (there should be one such function) a help button, to give simple information to user on how to use app Of course, if it is a game, you should go directly to the play screen. Hope that helps.
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Nov ’21
Reply to iPhone SE Storage Issues
@PaulBaloukas90 Release notes https://support.apple.com/en-us/HT212788: iOS 15.0.1 iOS 15.0.1 includes bug fixes for your iPhone including an issue where some users could not unlock iPhone 13 models with Apple Watch. This update includes bug fixes for your iPhone. Settings app may incorrectly display an alert that storage is full
Topic: App & System Services SubTopic: Hardware Tags:
Nov ’21
Reply to Apple app store revenue withdrawal
Normally you have given a bank account when enrolling. This account will be credited automatically (may take some time though). Note: I do not see the link with Apple Pay.
Replies
Boosts
Views
Activity
Nov ’21
Reply to Blocking iPad download
When I go to AppStore from iPad, I get the same links for WhatsApp than on iPhone .
Replies
Boosts
Views
Activity
Nov ’21
Reply to my site is not loading on apple mobile phones
it's not loading perfectly on apply smartphones You mean Apple I guess. What occurs exactly. Not perfectly is too vague. . is there any need of code changes?  Please post the code in question. What is the link with ApplePay ? Note: you posted this same question 5 times at least. No need for this. If you have further information to provide, just answer or comment your own question with additional information.
Replies
Boosts
Views
Activity
Nov ’21
Reply to mapItem.openInMaps Unknown Location
Likely the coordinates are not recognised as a specific location. Try this: class AnnotationButton: UIButton {     var annotation: MKPointAnnotation?     var mapItem: MKMapItem { let placemark = MKPlacemark(coordinate: self.coordinate) // You do not show full class, so I hope self points to the right object let mapItem = MKMapItem(placemark: placemark) mapItem.name = annotation?.title ?? "unknown" // Provide the name of the destination in the To: field         return mapItem     } } Note: Having the extension far away from class definition makes it harder to read. I personally prefer, for such a simple class, to include the extension inside. When you post code, please use Paste and Match Style to avoid all the extra blank lines.
Topic: Programming Languages SubTopic: Swift Tags:
Replies
Boosts
Views
Activity
Nov ’21
Reply to mapItem.openInMaps Unknown Location
Well, if you prefer a class extension, you can do it that way: extension MKPointAnnotation {     var mapItem: MKMapItem { let placemark = MKPlacemark(coordinate: self.coordinate) let mapItem = MKMapItem(placemark: placemark) mapItem.name = self.annotation?.title ?? "unknown" // Provide the name of the destination in the To: field         return mapItem     } }
Topic: Programming Languages SubTopic: Swift Tags:
Replies
Boosts
Views
Activity
Nov ’21
Reply to Can someone walk me through the app launch sequence at a low level?
This article describe in detail the launch sequence for iOS: https://developer.apple.com/documentation/uikit/app_and_environment/responding_to_the_launch_of_your_app/about_the_app_launch_sequence#3894431 A few complementary info in this thread as well: https://developer.apple.com/forums/thread/667959
Topic: Programming Languages SubTopic: Swift Tags:
Replies
Boosts
Views
Activity
Nov ’21
Reply to MacOS Big Sur bricked My Macbook
Update from which version of MacOS ? To 11.6.1 ? How much Disk space available (if you noted before update) ?
Topic: App & System Services SubTopic: Core OS Tags:
Replies
Boosts
Views
Activity
Nov ’21
Reply to MacOS Big Sur bricked My Macbook
Apple has now issued instructions on how to recover these machines, which are as follows: https://support.apple.com/en-asia/HT204267 If your Mac doesn't turn on If your Mac doesn't seem to turn on after you press the power button, follow these steps. Your Mac might be turned on but appear to be turned off, even though it's connected to AC power and a working display. Follow these steps. Press and hold the power button on your Mac for at least 10 seconds, then release. If your Mac is turned on, this forces it to turn off. If you see no change on your Mac, press and release the power button normally. If your Mac now turns on but doesn't finish starting up, follow the steps for when your Mac doesn't start up all the way. If your Mac still doesn't turn on, please contact Apple Support. Published Date: May 04, 2021
Topic: App & System Services SubTopic: Core OS Tags:
Replies
Boosts
Views
Activity
Nov ’21
Reply to Can I identify the main colors in an image?
The questions asked in the other post https://developer.apple.com/forums/thread/94324 do apply to yours. Do you want to have a statistics of colors used, if so Core ML is not the right way to go, or detect shapes and find their dominant colors (here a combination of Core ML and stats would be appropriate). However a basic stats on colors may not be very efficient (too many colors). What you could try: analyse the image colors, point per point map it in a 3D space (x for red, y for green, z for blue) That will give a cloud of points Then you could try to perform some cluster analysis to find the main color clusters. Core ML could be used : h t t p s : / / medium.com/nerd-for-tech/core-ml-e840938a55d9 and open source to do it: h t t p s : / / awesomeopensource.com/project/eheitfield/SwiftCluster?categoryPage=41
Topic: Media Technologies SubTopic: General Tags:
Replies
Boosts
Views
Activity
Nov ’21
Reply to Any good tutorials for new app setup flows?
how folks place the launch hooks and decide what views to show given whether it's a users first open of the app, or whether they have completed some required setup step You may have a lot of approaches to this. So my own one. The initial screen should be very appealing to user. So I don't start with a settings screen which is a bit boring This initial view is the top level to navigate, giving access to a few other view In this view (once again, you should make it pleasant to look and related to the goal of your app) a few buttons (3 to 5), at the bottom, to access the main functions one of them may be to go to the settings view, but app should work even before this another goes to the main function of your app (there should be one such function) a help button, to give simple information to user on how to use app Of course, if it is a game, you should go directly to the play screen. Hope that helps.
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Nov ’21
Reply to iPhone SE Storage Issues
@PaulBaloukas90 Release notes https://support.apple.com/en-us/HT212788: iOS 15.0.1 iOS 15.0.1 includes bug fixes for your iPhone including an issue where some users could not unlock iPhone 13 models with Apple Watch. This update includes bug fixes for your iPhone. Settings app may incorrectly display an alert that storage is full
Topic: App & System Services SubTopic: Hardware Tags:
Replies
Boosts
Views
Activity
Nov ’21
Reply to 90gb system storage of 128gb
Which iOS version ?
Topic: App & System Services SubTopic: Hardware Tags:
Replies
Boosts
Views
Activity
Nov ’21
Reply to 90gb system storage of 128gb
Best would be to call Apple support. In the meantime, if this may help: h t t p s : / / w w w.fonehow.com/iphone-system-storage-too-high/
Topic: App & System Services SubTopic: Hardware Tags:
Replies
Boosts
Views
Activity
Nov ’21
Reply to Remove Stacked views from NavigationView in SwiftUI
Here it describe how to go back to the root view: https://stackoverflow.com/questions/57334455/swiftui-how-to-pop-to-root-view It is easily adaptable to return to another view in stack.
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Nov ’21
Reply to mapItem.openInMaps Unknown Location
Effectively, self is MKPointAnnotation So, just change as: mapItem.name = self.title
Topic: Programming Languages SubTopic: Swift Tags:
Replies
Boosts
Views
Activity
Nov ’21