Skip to content

iOS: hide lock screen player after calling clearAllItems() #67

@chungmarcoo

Description

@chungmarcoo

I try to call clearAllItems method after my custom music player is closed, however the music player in lock screen still visible. Is there any way to get rid of the lock screen player after calling clearAllItems. In addition, I tried to remove the following code from Info.plist, the lock screen music player will be gone after the music is stopped by the system. But the background playing feature is needed from my own app. Is there any solution? Thanks

	<key>UIBackgroundModes</key>
	<array>
		<string>audio</string>
		<string>fetch</string>
	</array>

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions