This function helps with the creation of the iOS parameter structure in the JSON request. Further details can be found in the realfavicongenerator.net API documentation
1 2 3 4 5 6 7 8 9 |
picture_aspect |
character; one of 'no_change' or 'background_and_margin'. 'no_change' leaves the picture as is, 'background_and_margin' uses the background_color and margin parameters. |
margin |
character; margin of picture in pixels or as a percentage |
startup_image |
list; list containing details of startup image to use (created via |
app_name |
character; when defined, will be used by Safari as the default home screen caption instead of page title |
assets |
list; list of asset parameters. These define which icons to include. Options to be set to TRUE or FALSE are 'ios6_and_prior_icons', 'ios7_and_later_icons', 'precomposed_icons' and 'declare_only_default_icon'. |
background_color |
character; background color applied to the background of the Apple Touch icon. Hex value. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.