How is apple-touch-startup-image supported?

Need some custom code changes to the phpBB core simple enough that you feel doesn't require an extension? Then post your request here so that community members can provide some assistance.

NOTE: NO OFFICIAL SUPPORT IS PROVIDED IN THIS SUB-FORUM
Forum rules
READ: phpBB.com Board-Wide Rules and Regulations

NOTE: NO OFFICIAL SUPPORT IS PROVIDED IN THIS SUB-FORUM
Post Reply
User avatar
halil16
Registered User
Posts: 1266
Joined: Fri Jul 24, 2020 11:30 pm
Location: Turkiye
Name: Halil
Contact:

How is apple-touch-startup-image supported?

Post by halil16 »

Hi,
On iOS devices, you can save the website as a web application using the Share > Add to Home screen method. Moreover, it is like PWA on Android, a splash screen can be created, at least logically similar; for this you need code like the following:

Code: Select all

<link rel="apple-touch-startup-image" href="https://mydomain.com/startup/iphone-por-1170.png" media="(device-width: 390px) and (device-height: 844px) and (orientation: portrait) and (-webkit-device-pixel-ratio: 3)">
<link rel="apple-touch-startup-image" href="https://mydomain.com/startup/iphone-land-2532.png" media="(device-width: 390px) and (device-height: 844px) and (orientation: landscape) and (-webkit-device-pixel-ratio: 3)">
But this doesn't work on the phpBB. I need support for this code. What should I do for phpBB to detect this code? The methods I tried did not work.
* Hire me at fiverr for your phpBB board.
"The day we will need ideas more than possessions, we will find the secret to true wealth." - Peyami Safa
I'm learning English...
Contributions: #Hashtag, Elegance, Latte
User avatar
cabot
Registered User
Posts: 690
Joined: Sat Jan 07, 2012 4:16 pm
Contact:

Re: How is apple-touch-startup-image supported?

Post by cabot »

Hello,

Just use this site: https://realfavicongenerator.net/
User avatar
Mick
Support Team Member
Support Team Member
Posts: 26508
Joined: Fri Aug 29, 2008 9:49 am

Re: How is apple-touch-startup-image supported?

Post by Mick »

Doesn’t that only work using Safari? Add to home screen doesn’t create an ‘app’ it’s a website shortcut.

Please don’t post coding discussion in support.
  • "The more connected we get the more alone we become" - Kyle Broflovski©
  • "The good news is hell is just the product of a morbid human imagination.
    The bad news is, whatever humans can imagine, they can usually create.
    " - Harmony Cobel
User avatar
halil16
Registered User
Posts: 1266
Joined: Fri Jul 24, 2020 11:30 pm
Location: Turkiye
Name: Halil
Contact:

Re: How is apple-touch-startup-image supported?

Post by halil16 »

cabot wrote: Mon May 29, 2023 5:26 pm Hello,

Just use this site: https://realfavicongenerator.net/
Hi. No, I'm not talking about icons. Opening image. Something like:

iphone-por-1170.png
Mick wrote: Mon May 29, 2023 6:50 pm Doesn’t that only work using Safari? Add to home screen doesn’t create an ‘app’ it’s a website shortcut.
With the new iOS version, it was said to work with browsers other than Safari, but I've never tried it. It is actually a web application as it is called PWA. For example, Apple now allows push notifications in web apps. It gives successful results with the extension of Senky. Apple is trying to close the gap with Android with new updates. But PWA on Android is much better. I've been managing this in the WordPress subfolder on the Apple side for a long time; but now i have set up a separate forum.

I created the necessary files for PWA myself on the phpBB side. But I was using a plugin in WordPress. they put forward an update that this is supported, but I couldn't figure out what changed: 0.70
* Hire me at fiverr for your phpBB board.
"The day we will need ideas more than possessions, we will find the secret to true wealth." - Peyami Safa
I'm learning English...
Contributions: #Hashtag, Elegance, Latte
User avatar
halil16
Registered User
Posts: 1266
Joined: Fri Jul 24, 2020 11:30 pm
Location: Turkiye
Name: Halil
Contact:

Re: How is apple-touch-startup-image supported?

Post by halil16 »

I figured out how to do this; apple-mobile-web-app-capable should be used.

Code: Select all

<meta name="apple-mobile-web-app-capable" content="yes"/>
After adding this the apple-touch-startup-image are working.
* Hire me at fiverr for your phpBB board.
"The day we will need ideas more than possessions, we will find the secret to true wealth." - Peyami Safa
I'm learning English...
Contributions: #Hashtag, Elegance, Latte
Post Reply

Return to “phpBB Custom Coding”