Twig custom filter for iphone