{"id":1062,"date":"2023-01-13T16:55:35","date_gmt":"2023-01-13T21:55:35","guid":{"rendered":"https:\/\/carloscarvajal.co\/?p=1062"},"modified":"2023-01-24T23:18:45","modified_gmt":"2023-01-25T04:18:45","slug":"iframe-en-ios","status":"publish","type":"post","link":"https:\/\/carloscarvajal.co\/iframe-en-ios\/","title":{"rendered":"Mostrar iframe en IOS (Correctamente)"},"content":{"rendered":"\n
Los marcos en IOS siempre generan problemas para adaptarse en un dispositivo m\u00f3vil, lo que se debe hacer es estilizarlo y forzarlo a mantener el ancho del sitio.<\/p>\n\n\n\n
\/\/ Estilos exclusivamente para IOS\n@media only screen and (max-width: 768px){\n iframe {\n width: 1px;\n min-width: 100%;\n *width: 100%;\n }\n}<\/code><\/pre>\n\n\n\n\/\/ NOTA: importante poner el atributo scrolling=\"no\"\n<iframe src=\"url.del.archivo\" width=\"100%\" height=\"200px\" frameborder=\"0\" scrolling=\"no\"><\/iframe><\/code><\/pre>\n","protected":false},"excerpt":{"rendered":"Los marcos en IOS siempre generan problemas para adaptarse en un dispositivo m\u00f3vil, lo que se debe hacer es estilizarlo y forzarlo a mantener el ancho del sitio.<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_uag_custom_page_level_css":"","site-sidebar-layout":"default","site-content-layout":"default","ast-global-header-display":"","ast-banner-title-visibility":"","ast-main-header-display":"","ast-hfb-above-header-display":"","ast-hfb-below-header-display":"","ast-hfb-mobile-header-display":"","site-post-title":"","ast-breadcrumbs-content":"","ast-featured-img":"","footer-sml-layout":"","theme-transparent-header-meta":"","adv-header-id-meta":"","stick-header-meta":"","header-above-stick-meta":"","header-main-stick-meta":"","header-below-stick-meta":"","footnotes":""},"categories":[52],"tags":[],"class_list":["post-1062","post","type-post","status-publish","format-standard","hentry","category-desarrollo-web"],"yoast_head":"\n
Mostrar iframe en IOS (Correctamente) - Carlos Carvajal<\/title>\n\n\n\n\n\n\n\n\n\n\n\n\t\n\t\n\t\n\n\n\n\n\n\t\n\t\n\t\n