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

ios_helper(
  picture_aspect = c("no_change", "background_and_margin"),
  margin = NULL,
  background_colour = NULL,
  startup_image = NULL,
  app_name = NULL,
  assets = list(ios6_and_prior_icons = FALSE, ios7_and_later_icons = TRUE,
    precomposed_icons = FALSE, declare_only_default_icon = TRUE)
)

Arguments

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 build_master_picture). Leave as NULL for no startup image

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.