swift – iOS 17 Bug? Including a .sheet to a .fullscreencover makes background opaque
I’m engaged on making a customized Popup
View based mostly on a .fullscreenCover
. The .fullscreenCover
is used to put the Popup
content material on display on a semi-transparent background.
Whereas this works on iOS 18, there’s a drawback on iOS 17: When the Popup
content material accommodates a .sheet, the background is just not clear any extra however opaque.
-
- Picture: iOS 17. When exhibiting the Popup an opaque background covers the principle content material. When tapping on the background it turns clear.
-
- Picture: iOS 18. All the things works as meant. When exhibiting the Popup the principle background is roofed with a semi-transparent background.
Eradicating the .sheet(...)
from the Popup content material solves the issue. It doesn’t matter if the sheet is used or not. Including it to the view code is sufficient to set off the issue.
Utilizing a .sheet
inside a .fullscreenCover
shouldn’t be an issue so far as I do know.
Is that this a bug in iOS 17 or is there one thing mistaken with my code?
Code:
struct SwiftUIView: View {
@State var isPresented: Bool = false
@State var sheetPresented: Bool = false
var physique: some View {
ZStack {
VStack {
Colour.pink.body(maxHeight: .infinity)
Colour.inexperienced.body(maxHeight: .infinity)
Colour.yellow.body(maxHeight: .infinity)
Colour.blue.body(maxHeight: .infinity)
}
Button("Present") {
isPresented = true
}
.padding()
.background(.white)
Popup(isPresented: $isPresented) {
VStack {
Button("Dismiss") {
isPresented = false
}
}
.body(maxWidth: 300)
.padding()
.background(
RoundedRectangle(cornerRadius: 20)
.fill(.white)
)
.sheet(isPresented: $sheetPresented) {
Textual content("Hallo")
}
}
}
}
}
struct Popup: View {
@Binding var isPresented: Bool
let content material: () -> Content material
init(isPresented: Binding, @ViewBuilder _ content material: @escaping () -> Content material) {
_isPresented = isPresented
self.content material = content material
}
@State non-public var internalIsPresented: Bool = false
@State non-public var isShowing: Bool = false
let transitionDuration: TimeInterval = 0.5
var physique: some View {
ZStack { }
.fullScreenCover(isPresented: $internalIsPresented) {
VStack {
content material()
}
.body(maxWidth: .infinity, maxHeight: .infinity)
.background(
Colour.black.opacity(0.5)
.opacity(isShowing ? 1 : 0)
.animation(.easeOut(length: transitionDuration), worth: isShowing)
.ignoresSafeArea()
)
.presentationBackground(.clear)
.onAppear {
isShowing = true
}
.onDisappear {
isShowing = false
}
}
.onChange(of: isPresented) { _ in
withoutAnimation {
internalIsPresented = isPresented
}
}
}
}
extension View {
func withoutAnimation(motion: @escaping () -> Void) {
var transaction = Transaction()
transaction.disablesAnimations = true
withTransaction(transaction) {
motion()
}
}
}
Cultivating expertise and expertise for clear vitality alternatives
As a part of Cisco’s “Plan for Attainable,” our environmental sustainability technique, I typically emphasize the significance of resilient ecosystems. A necessary side of resilient ecosystems is guaranteeing communities have the talents, instruments, and sources to help the event and deployment of unpolluted vitality. Power resilience shouldn’t be solely about infrastructure; it’s basically about folks. Communities can profit from clear vitality options, equivalent to microgrids and photo voltaic storage, however a talented workforce and progressive applied sciences are wanted to maintain these initiatives.
Many sectors, together with manufacturing, expertise, and building, want expertise that may assist enhance effectivity, scale back utilization of uncooked supplies, decrease waste, and assist shield the surroundings. Actually, a 2024 report from LinkedIn signifies that such expertise “are more likely to turn out to be more and more vital because the business confronts the complexities of overhauling the facility grid.”
By investing in coaching, expertise, and partnerships, we can assist to construct in resilience from the bottom up and assist folks to take management of their vitality future.
Lately, we held a dialogue on this matter with three nonprofits funded by way of the Cisco Basis, and right here’s what they needed to share:
GRID Options
Based in 2001, GRID Options is the biggest nonprofit installer of unpolluted vitality applied sciences in america for low-income households and communities. GRID has educated over 33,000 people in photo voltaic set up by way of its workforce improvement packages and provides job seekers the expertise and networking alternatives they want, whereas serving to native photo voltaic firms fill their ranks.


Erica Mackie, P.E., Co-Founder and CEO of GRID Options, shared, “After we first began, we weren’t eager about workforce improvement as a result of the business was nascent. Folks would come to us and say, ‘I have to volunteer with GRID Options as a result of I utilized for a job, and the employer advised me I don’t have any expertise.’ Our workforce improvement packages reply to group members asking us to offer coaching and saying, ‘We are attempting to get jobs and want the expertise to get these jobs.’ We now present coaching modules in a lab that additionally consists of hands-on expertise at an precise set up. We’ll additionally do wrap-around providers like find out how to write a resume or find out how to interview. We now have a commencement ceremony the place employers will come, and we’ll have stations arrange for every of our trainees to display their craft and what they realized within the set up fundamentals coaching.”
Kara Photo voltaic
Kara Photo voltaic started in 2012 as a dream to construct a solar-powered boat. They now help a thriving community of photo voltaic transport and vitality hubs in Achuar territory within the Ecuadorian Amazon and are starting to copy the mannequin with extra communities throughout the Amazon area. By optimizing designs, offering technical coaching, constructing native provide chains, and facilitating financing, Kara Photo voltaic allows Indigenous communities to entry, implement, and handle photo voltaic transportation and vitality programs in their very own territories, on their very own phrases. Essential to the mannequin is in-depth native capability constructing. Kara Photo voltaic has educated Indigenous technicians to put in and preserve group microgrids that save gasoline, scale back carbon emissions, and help Indigenous communities in constructing native financial energy and preserving rainforest ecosystems.


Oliver Utne, founding father of Kara Photo voltaic shared, “We frequently say that the Amazon is a cemetery of failed initiatives. As a result of companies will are available in, set up photo voltaic or another type of technological resolution, inform the native folks don’t contact this, after which they depart. The DNA of our group from the very starting was about co-design; it was about how can we get the proper heads collectively that haven’t been collectively prior to now? Our coaching technique is all about studying by doing hands-on, and more and more peer-to-peer-training as a result of now there’s this actually strong core of Indigenous technicians who’re coaching different folks.”
Photo voltaic Sister
Based in 2010, Photo voltaic Sister is the world’s first scalable, women-led renewable vitality distribution mannequin, addressing vitality and local weather challenges by offering important providers and coaching to ladies to construct companies in their very own communities. Presently energetic in Nigeria, Kenya, and Tanzania, their aim is to help ladies entrepreneurs in increasing clear vitality distribution in last-mile communities. They supply Photo voltaic Sister Entrepreneurs (SSE) with enterprise teaching, mentorship, a examined product pipeline, and entry to their native Photo voltaic Sister Sisterhood teams for networking, help, and encouragement. There have been over 11,000 SSEs since their founding.


Olasimbo Sojinrin, CEO of Photo voltaic Sister shared, “Our mannequin has been rooted on the grownup studying ideas, the place 70% of studying comes from hands-on expertise, 20% comes from peer-to-peer studying and 10% studying from classroom instruction. We now have invested in curriculum improvement which we ship in these classroom settings as soon as each month, and the curriculum covers important subjects for beginning and operating a clear vitality enterprise. The coaching is finished in a “sisterhood” group which offers the platform for girls to share experiences and be taught from one another. As particular person enterprise homeowners, they share experiences, focus on challenges and options, and help one another. By combining hands-on expertise from their each day enterprise actions, sisterhood group peer-to-peer studying, and month-to-month trainings; we empower ladies to thrive and construct a sustainable clear vitality enterprise.”
Cisco’s worth chain advantages from resilient ecosystems, each financially and ecologically. It’s in our shared curiosity to help innovation by investing in clear applied sciences and serving to to create sustainability-related jobs by constructing expert workforces. That’s the reason we’re so happy with the work our Cisco Basis grantees are doing to Energy a Extra Inclusive Future for All.
Share:
Pantheon of faculty soccer will get a Wi-Fi improve
Notre Dame has totally adopted cellular ticketing and launched grab-and-go concession stands, with plans to increase them additional. Alcohol gross sales have been not too long ago permitted, prompting efforts to help new providers like cellular carts. In premium areas, followers can stream varied video games throughout occasions. Notre Dame additionally examined cellular ordering for concessions with pickup alerts.
As they are saying in infomercials, “however wait, there’s extra…” The college is regularly exploring new methods to make the in-person expertise even higher. For instance, it’s going to supply unique digital camera angles and real-time stats, solely accessible by way of Wi-Fi on the stadium. It’s all a part of an effort to provide followers one thing they will’t get watching at house. (See additionally: AI commentary goes into full swing at Gamers Championship)
“One of many challenges numerous lot of sports activities venues face is getting individuals to pay to come back to the sport, once they can sit at house with their massive TV and have an analogous expertise from the consolation of their sofa,” stated Buysse.
Behind the scenes, the stadium has additionally grow to be a testing floor for superior tech, in partnership with Federated Wi-fi and Notre Dame’s personal Wi-fi Institute. Federated Wi-fi helped the college handle the challenges of utilizing the brand new 6 GHz Wi-Fi band open air. Usually, too many units utilizing the identical sign may cause interference. Federated Wi-fi’ cloud-based system, Automated Frequency Coordination (AFC), prevents interference by organizing how completely different units share the sign. Consequently, the stadium’s Wi-Fi is now stronger, covers extra floor, and might deal with extra individuals directly.
In the meantime, the Wi-fi Institute is piloting a personal 5G community to see how connectivity could be improved for each college students and units throughout campus. Whereas personal 5G isn’t coming this yr, Buysse stated the college can be “transitioning back-of-house communications” to make sure that vital providers, comparable to campus public security, all the time keep linked no matter how busy the community will get.
For now, Notre Dame directs everybody to Wi-Fi as a result of the stadium’s mobile community is outdated and struggles to maintain up with demand. Though enhancements to mobile service are being made, progress has been gradual as a result of varied challenges. Particularly, mobile carriers wish to set up gear within the bowl of the stadium, however the venue’s construction makes that tough with out impacting the aesthetic.
Saying Android help of digital credentials
Posted by Rohey Livne – Group Product Supervisor
In at this time’s interconnected world, managing digital id is crucial. Android goals to help open requirements that guarantee seamless interoperability with numerous id suppliers and companies. As a part of this aim, we’re excited to announce that Android, through Credential Supervisor’s DigitalCredential API, now natively helps OpenID4VP and OpenID4VCI for digital credential presentation and issuance respectively.
What are digital credentials?
Digital credentials are cryptographically verifiable paperwork. The commonest rising use case for digital credentials is id paperwork comparable to driver’s licenses, passports, or nationwide ID playing cards. Within the coming years, it’s anticipated that Android builders will develop progressive functions of this expertise for a wider vary of non-public credentials that customers might want to current digitally, together with training certifications, insurance coverage insurance policies, memberships, permits, and extra.
Digital credentials will be supplied by any put in Android app. These apps are often known as “credential holders”; sometimes digital pockets apps comparable to Google Pockets or Samsung Pockets.
Different apps not essentially regarded as “wallets” can also have a use for exposing a digital credential. For instance an airline app may need to provide their customers’ air miles reward program membership as a digital credential to be offered to different apps or web sites.
Digital credentials will be offered by the person to every other app or web site on the identical system, and Android additionally helps securely presenting Digital Credentials between units utilizing the identical trade normal protocols utilized by passkeys (CTAP), by establishing encrypted communication tunnels.
Customers can retailer a number of credentials throughout a number of apps on their system. By leveraging OpenID4VP requests from web sites utilizing the W3C Digital Credential API, or from native apps utilizing Android Credential Supervisor API, a person can choose what credential to current from throughout all accessible credentials throughout all put in digital pockets apps.
How digital credentials work
Presentation
To current the credential, the verifier sends an OpenID4VP request to the Digital Credential API, which then prompts the person to pick out a credential throughout all of the credentials that may fulfill this request. Notice that the person is choosing a credential, not a digital pockets app:

As soon as the person chooses a credential to proceed with, Android platform redirects the unique OpenID4VP request to the digital pockets app that holds the chosen credential to finish the presentation again to the verifier. When the digital pockets app receives the OpenID4VP request from Android, it could possibly additionally carry out any extra due-diligence steps it must carry out previous to releasing the credential to the verifier.
Issuance
Android additionally permits builders to subject their very own Digital Credentials to a person’s digital pockets app. This course of will be performed utilizing an OpenID4VCI request, which prompts the person to decide on the digital pockets app that they need to retailer the credential in. Alternatively, the issuance may very well be performed straight from inside the digital pockets app (some apps won’t even have an specific person dealing with issuance step in the event that they retailer credentials primarily based on their affiliation to a signed-in person account).

Over time, the person can repeat this course of to subject a number of credentials throughout a number of digital pockets apps:

Notice: To make sure that at presentation time Android can appropriately listing all of the credentials that digital pockets apps maintain, digital wallets should register their credentials’ metadata with Credential Supervisor. Credential Supervisor makes use of this metadata to match credentials throughout accessible digital pockets apps to the verifier’s request, in order that it could possibly solely current an inventory of legitimate credentials that may fulfill the request for the person to pick out from.
Early adopters
As Google Pockets introduced yesterday, quickly customers will be capable to use digital credentials to recuperate Amazon accounts, entry on-line well being companies with CVS and MyChart by Epic, and confirm profiles or id on platforms like Uber and Bumble.
These use circumstances will benefit from customers’ digital credentials saved in any digital pockets app customers have on their Android system. To that finish, we’re additionally completely satisfied to share that each Samsung Pockets and 1Password will maintain customers’ digital credentials as digital wallets and help OpenID requirements through Android’s Credential Supervisor API.
Be taught extra
Credential Supervisor API lets each Android app implement credential verification or present credentials on the Android platform.
Take a look at our new digital credential documentation on tips on how to grow to be a credential verifier, benefiting from customers’ current digital credentials utilizing Jetpack Credential Supervisor, or to grow to be a digital pockets app holding your personal credentials for different apps or web sites to confirm.