Apple Web App Meta Tags
Arguments
- .meta
A
meta
object created bymeta()
oras_meta()
, or returned by ameta_*()
object.- title
Launch Icon Title
- capable
Enables standalone (full-screen) mode if TRUE
- status_bar_style
Status bar appearance. has no effect unless standalone more is enabled (see
capable
)."If content is set to default, the status bar appears normal. If set to black, the status bar has a black background. If set to black-translucent, the status bar is black and translucent. If set to default or black, the web content is displayed below the status bar. If set to black-translucent, the web content is displayed on the entire screen, partially obscured by the status bar. The default value is default."
Value
A meta
object, or a set of <meta>
HTML tags inside an HTML
<head>
tag. For use in rmarkdown::html_document()
, shiny::runApp()
,
or other HTML locations.
See also
Other meta:
meta_apple_itunes_app()
,
meta_general()
,
meta_geo()
,
meta_google_scholar()
,
meta_name()
,
meta_social()
,
meta_tag()
,
meta_viewport()
,
meta()
Examples
meta() %>%
meta_apple_web_app(
title = "My Fancy App",
capable = TRUE,
status_bar_style = "black-translucent"
)
#> <meta name="apple-mobile-web-app-title" content="My Fancy App"/>
#> <meta name="apple-mobile-web-app-capable" content="yes"/>
#> <meta name="apple-mobile-web-app-status-bar-style" content="black-translucent"/>