Giter VIP home page Giter VIP logo

Comments (7)

rolson avatar rolson commented on June 22, 2024 1

Alerts

from arcgis-maps-sdk-swift-toolkit.

mhdostal avatar mhdostal commented on June 22, 2024 1

I also like the LoginView, but it is full-screen and quite intrusive, so my vote is for Alert.

How about using the native Alert for iOS 16, but using the UIAlertController and UIViewControllerRepresentable for iOS 15?

from arcgis-maps-sdk-swift-toolkit.

rolson avatar rolson commented on June 22, 2024 1

Sounds good to me

from arcgis-maps-sdk-swift-toolkit.

dfeinzimer avatar dfeinzimer commented on June 22, 2024

@rolson I'm looking at doing this now but seeing that TextFields are only supported within alerts in iOS 16+.

I assume our minimum supported iOS will be < 16 for 200? If so, we'd need to either:

  1. Support two implementations (yours and one for iOS 16+)
  2. Roll our own "alert" view in SwiftUI
  3. Use a UIKit UIAlertController via UIViewControllerRepresentable

Personally, I like the LoginView you created and prefer it to a simple alert with text fields.

Any thoughts @mhdostal?

from arcgis-maps-sdk-swift-toolkit.

rolson avatar rolson commented on June 22, 2024

My personal preference for me would be an alert. However, the apps team is requesting this change and we would want to make sure we are aligned with the UX that they prefer so that they use these components.

In terms of iOS 16, you will need to talk to @dg0yal and @ldanzinger about that.

from arcgis-maps-sdk-swift-toolkit.

mhdostal avatar mhdostal commented on June 22, 2024

However, the apps team is requesting this change

What is the Apps team's preference?

from arcgis-maps-sdk-swift-toolkit.

dfeinzimer avatar dfeinzimer commented on June 22, 2024

Closing, completed with #126

from arcgis-maps-sdk-swift-toolkit.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.