top of page

72. Article: Dynamic Island (and Live Activities): Quick start tutorial

Writer's picture: Hui WangHui Wang

Apple brings the API for Dynamic Island in Xcode 14.1 Beta.


Today's article mainly presents how to use the new Live Activities API to create your own Dynamic Island.






let attributes = TimerAttributes(endDate: Date().addingTimeInterval(60 * 60))

do {
    _ = try Activity<TimerAttributes>.request(attributes: liveActivityAttributes, contentState: .init())
} catch {
    print(error.localizedDescription)
}


References:


Dynamic Island (and Live Activities): Quick start tutorial: https://nemecek.be/blog/171/dynamic-island-and-live-activities-quick-start-tutorial


A sample of dynamic island designs recreated for inspiration:


 

Follow me on:

Comments


Never Miss a Post. Subscribe Now!

I am an iOS developer, and I will share some knowledge related to iOS development from time to time.

Thanks for submitting!

© 2022 by (Foks) Hui Wang

bottom of page