Post

Replies

Boosts

Views

Activity

Reply to Change Tab Bar Image based on iOS version using new system image aqi.medium
Good news. I found a very easy workaround that does not involve coding. I downloaded the SF Symbols app to my computer and exported the medium.aqi image (which is only compatible with iOS 14 or later) to my hard drive. Then I renamed the image to "globe" which is a compatible image across multiple iOS versions. Finally I added the image named "globe" to my xcode assets folder and linked the image to the tab bar using Interface Builder. Now the medium.aqi image is displayed whenever I use the "globe" image.
Topic: UI Frameworks SubTopic: UIKit Tags:
Jul ’21
Reply to Advice needed on passing Count of records in rendered Mapview in Second View Controller to be displayed in First View Controller
OOPer, thanks I like your idea of using a data container.  However the count in the container is returning 0 on the First View Controller (Dashboard) and it is returning the correct number in the Second View Controller (Map View). I wonder if the issue is that the map in the Second View Controller is rendered after the First View Controller is loaded. So the First View Controller never gets the count.
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Jun ’21
Reply to Change Tab Bar Image based on iOS version using new system image aqi.medium
Good news. I found a very easy workaround that does not involve coding. I downloaded the SF Symbols app to my computer and exported the medium.aqi image (which is only compatible with iOS 14 or later) to my hard drive. Then I renamed the image to "globe" which is a compatible image across multiple iOS versions. Finally I added the image named "globe" to my xcode assets folder and linked the image to the tab bar using Interface Builder. Now the medium.aqi image is displayed whenever I use the "globe" image.
Topic: UI Frameworks SubTopic: UIKit Tags:
Replies
Boosts
Views
Activity
Jul ’21
Reply to Problem when using UIButton to switch view controllers in tabbed Application
Wow Claude thanks! It worked! You are awesome :)
Topic: UI Frameworks SubTopic: UIKit Tags:
Replies
Boosts
Views
Activity
Jun ’21
Reply to Advice needed on passing Count of records in rendered Mapview in Second View Controller to be displayed in First View Controller
The Data Container solution provided by OOPer is a good approach for this problem. I am using a data container to pass data to my main View Controller from a new Swift class that I am using to calculate the count of fires manually rather than counting the fires in the rendered map view.
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Jun ’21
Reply to Advice needed on passing Count of records in rendered Mapview in Second View Controller to be displayed in First View Controller
OOPer, thanks I like your idea of using a data container.  However the count in the container is returning 0 on the First View Controller (Dashboard) and it is returning the correct number in the Second View Controller (Map View). I wonder if the issue is that the map in the Second View Controller is rendered after the First View Controller is loaded. So the First View Controller never gets the count.
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Jun ’21
Reply to Advice needed on passing Count of records in rendered Mapview in Second View Controller to be displayed in First View Controller
Sorry you are correct. I am using UIKit. My mistake
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Jun ’21