Jump to content

gioma

Members
  • Content Count

    17
  • Joined

  • Last visited

Community Reputation

1 Neutral

About gioma

  • Birthday 08/25/1980

Technical Information

  • Delphi-Version
    Delphi 10.3 Rio
  1. gioma

    Delphi Rio 10.3.2 : iOS Display Name

    ok, I solved. I have created a new project and now it works!
  2. gioma

    Delphi Rio 10.3.2 : iOS Display Name

    It only worked once, with the Debug version, but then it returned to the initial situation! In my opinion it is a bug ..
  3. gioma

    Delphi Rio 10.3.2 : iOS Display Name

    I created the project, compiled it and installed it on the phone and by default it took the name of $ {modulename}.I changed the value of CFBundleDisplayName to "Progect Options-> Version Info" with the name I would like it be displayed, but it remains the default one. I checked the .plist file and in fact it is the correct one. I don't know what else to do, I have to distribute but I'm stuck with this s@it.
  4. gioma

    Delphi Rio 10.3.2 : iOS Display Name

    I did the same thing, it doesn't work. It always install the app named with the value of $ {modulename}. Delphi 10.3.2iOS 13.1 SDKXcode 11.1 😭
  5. gioma

    Delphi Rio 10.3.2 : iOS Display Name

    I can't change the project name. But anyway according to this delphi guide it is possible to do this: https://community.embarcadero.com/article/technical-articles/145-ui/973-how-can-i-change-name-of-firemonkey-mobile-application-to-contain-spaces The problem is that on Android it works, while on iOS it doesn't. Yet another Delphi bug? Yet the "Info.Plist" file is created well, and the key "CFBundleDisplayName" has the correct value. Except that when you install the app, the project name is displayed as the app name. Other Apps show the name with spaces, I don't understand why I can't do it with my app ... However it is not just the problem of inserting a space, I would like a different name for the app than the project one!
  6. gioma

    Delphi Rio 10.3.2 : iOS Display Name

    No, I didn't explain myself well, I wanted to change the name that is displayed once the app is installed. On Android it works by changing the "Label" key, while on iOS it should work by changing the "CFBundleDisplayName" key but it doesn't work! https://community.embarcadero.com/article/technical-articles/145-ui/973-how-can-i-change-name-of-firemonkey-mobile-application-to-contain-spaces
  7. Hi. I have a problem with the app name when I deploy it for iOS. I changed the value of "CFBundleDisplayName" but when the app is installed it takes the "${modulename}" value as its name. What else do I have to do?
  8. gioma

    Application Loader no longer included in Xcode11

    I was about to write the same thing, I just discovered it.
  9. gioma

    Application Loader no longer included in Xcode11

    Hi, I open a report to request App Store support. https://quality.embarcadero.com/browse/RSP-26465 In this way is very difficult continue to develop app with Delphi, they have to speed up!
  10. gioma

    Delphi Rio 10.3.2 : iOS Custom Font

    Solved, thanks. The problem was that I didn't put the font file in the project folder. I had put it in a subfolder! Bha
  11. Yes, I know that the SetStatusBar function is obsolete and now there is no other function to do it. I found a solution, to open the module that I would like to show only in Landscape, I show a message to the user to inform him that he must rotate the phone to open it. Then, when the user rotates the phone, the "onResize" event is activated. In this event the orientation is set only to Landscape and then the form is opened.
  12. Hi, I'd like to use custom fonts for my multi-device app. I chose the roboto font, and for Android deploy there is no problem. The problem is with the iOS deploy, I addedd the roboto .ttf files at the Deployment page and I edited the "info.plist.TemplateiOS.xml" adding this section: <key>UIAppFonts</key> <array> <string>Roboto-Black.ttf</string> <string>Roboto-BlackItalic.ttf</string> <string>Roboto-Bold.ttf</string> <string>Roboto-BoldItalic.ttf</string> <string>Roboto-Italic.ttf</string> <string>Roboto-Light.ttf</string> <string>Roboto-LightItalic.ttf</string> <string>Roboto-Medium.ttf</string> <string>Roboto-MediumItalic.ttf</string> <string>Roboto-Regular.ttf</string> <string>Roboto-Thin.ttf</string> <string>Roboto-ThinItalic.ttf</string> </array> However when I install and run the app in the iPhone the app show the default font. What I'm wrong?
  13. Hi, I need to rotate the screen at runtime when I open a form. Until the release of IOS 13 this code worked perfectly: procedure ChangeOrientation(toOrientation: UIInterfaceOrientation; possibleOrientations: TScreenOrientations); var win : UIWindow; App : UIApplication; viewController : UIViewController; oucon: UIViewController; begin Application.FormFactor.Orientations := []; //Change supported orientations App := TUIApplication.Wrap(TUIApplication.OCClass.sharedApplication); win := TUIWindow.Wrap(App.windows.objectAtIndex(0)); //The first Windows is always the main Window App.setStatusBarOrientation(toOrientation); {After you have changed your statusbar orientation set the Supported orientation/orientations to whatever you need} Application.FormFactor.Orientations := possibleOrientations; viewController := TUIViewController.Wrap(TUIViewController.alloc.init);//dummy ViewController oucon := TUIViewController.Wrap(TUIViewController.alloc.init); {Now we are creating a new Viewcontroller now when it is created it will have to check what is the supported orientations} oucon := win.rootViewController;//we store all our current content to the new ViewController Win.setRootViewController(viewController); Win.makeKeyAndVisible;// We display the Dummy viewcontroller win.setRootViewController(oucon); win.makeKeyAndVisible; {And now we Display our original Content in a new Viewcontroller with our new Supported orientations} end; However, since the release of IOS 13 the screen locks on the set orientation but does not rotate. So if I set Landscape orientation the screen remains in Portrait orientation until I physically turn the phone around, at which point it rightly remains locked on that orientation. This is a real disaster because then, until the phone is turned, all the controls ( finger position, object position,..) are wrong.
  14. You saved me. Now it works like a charm! Thank you very much!
×