I recently received a request from the App Store Review team regarding my iOS app, which exclusively offers audiobooks. The app provides audiobooks sourced from authorized publishers, and I do not publish traditional written content myself. The App Review team is asking for an Internet Publishing License (网络出版服务许可证) for distribution in China mainland.
As the app deals solely with audiobooks and not traditional publishing, I am unsure whether an ICP (Internet Content Provider) number is necessary in this context. I would appreciate any insights or experiences from developers who have faced a similar situation.
Additionally, if anyone has experience dealing with the Chinese National Press and Publication Administration (NPPA) regulations in the context of audiobook-only apps, your guidance would be invaluable.
Thank you for your time and assistance.
Post
Replies
Boosts
Views
Activity
I am facing an issue with the .after policy in SwiftUI Timeline. The update is not occurring at the exact time I have specified; there are delays ranging from 5 minutes to 3 minutes, etc. How can I resolve this issue? What can I do to ensure that the update happens precisely at the specified time without any delay?
Code Example:
struct SimpleEntry: TimelineEntry {
let date: Date
}
func getTimeline(in context: Context, completion: @escaping (Timeline<SimpleEntry>) -> Void) {
// For example, a future date and time: 2024-02-01 12:00:00
let refreshDateComponents = DateComponents(year: 2024, month: 2, day: 1, hour: 12, minute: 0, second: 0)
// Create a Date object using the specified date and time
if let refreshDate = Calendar.current.date(from: refreshDateComponents) {
// Create a SimpleEntry using the generated Date object
let entry = SimpleEntry(date: refreshDate)
// Create a Timeline and perform the completion with it
let timeline = Timeline(entries: [entry], policy: .after(refreshDate))
completion(timeline)
}
// Return an empty Timeline in case of an error
else {
let emptyTimeline = Timeline(entries: [], policy: .never)
completion(emptyTimeline)
}
}