EDR stands for Extended Dynamic Range. It is one of Apple's HDR technologies called Extended Dynamic Range
Note! EDR is for iOS 16 and above.
QR | Barcode |
---|---|
import SwiftUI
/** import */
import EDR_Swift
struct ContentView: View {
var body: some View {
/** Set
- QRContents
- Size
*/
EDRQRCodeView(
content: "https://bento.me/tsuzuki817",
size: .init(width: 300, height: 300)
)
.frame(width: 300, height: 300)
}
}
import SwiftUI
/** import */
import EDR_Swift
struct ContentView: View {
var body: some View {
EDRBarcodeView(
content: "https://bento.me/tsuzuki817",
size: .init(width: 320, height: 100)
)
.frame(width: 320, height: 100)
}
}