Accessibility: Part 2

The final project is crashing when you try to add a new alarm on this part of the project:

.sheet(isPresented: $showNewAlarm, content: {
AlarmView(alarm: self.alarmList.last!)
})

I’ll really appreciate if you can please let me know why is crashing or how can this be fixed.

This topic was automatically closed after 166 days. New replies are no longer allowed.