Sign in to follow this  

fullScreenScaleMode on IOS

Recommended Posts

Hello Everyone,

I'm currently using Phaser and first of all Thanks for all developers for Phaser.

I've got a problem and wanna share with you guys. 

I wrote a game and using ScaleManager for full screen.

var playScreen = function(game){};
playScreen.prototype = {
    init: function(){
        game.scale.pageAlignHorizontally = true;
        game.scale.pageAlignVertically = true;
        game.scale.scaleMode = Phaser.ScaleManager.SHOW_ALL;
        game.scale.fullScreenScaleMode = Phaser.ScaleManager.SHOW_ALL;

    create: function(){

           game.add.image(1830, 16, 'fullScreenExit');
           this.fullScreenButton = game.add.button(1830, 16, 'fullScreen', changeFullScreen, this);


function changeFullScreen(){
    if(game.scale.isFullScreen == false){
        this.fullScreenButton.alpha = 0;
    } else {
        this.fullScreenButton.alpha = 1;

This works fine on desktop and android but however on IOS it's not working.

Please let me know if you have any advance. 


Share this post

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.