Function apn_payload_set_launch_image
Sets a filename of an image file in the application bundle
Filename may include or not include the extension. The image is used as the launch image when users tap the action button or move the action slider. If this property is not specified, the system either uses the previous one, uses the image identified by the UILaunchImageFile key in the application’s Info.plist file, or falls back to Default.png
Parameters summary
resource |
$payload |
Apple Push Notification Resource returned by apn_payload_init(). If a non-resource is used for the apn, an error of level E_WARNING will be emitted |
string |
$launch_image |
A filename of an image file |
Return value summary
boolean |
Returns TRUE on success or FALSE on failure |