Get access to over 100 FireMonkey cross platform samples for Android, IOS, OSX, Windows, and Linux!

Code SnippetDelphiDemoFiremonkeyIOSOSXWindows

Awesome Control Rotation Trick Source Code For Delphi XE8 Firemonkey On IOS

Delphi XE8 Firemonkey Controls Rotate In Place IOSDeveloper Yegor K. from JVEsoft has a post up where he shows how to rotate your controls in place on IOS in Delphi XE8 Firemonkey. Basically the standard way that you see in most apps is that the app has an orientation of either landscape or portrait and when you rotate the device the whole app rotates and fits into the new width of the screen. Yegor’s post is about changing this rotation model so that it does something different instead. The article shows how to change the orientation events so that the app orientation stays the same but individual controls rotate to the new orientation. It uses a slick animation for the rotation as well. You really have to check out the video to see how awesome this looks. In the context of certain applications (like games or apps for kids) this works really well. There is a sample project with source code also included. This only applies to IOS as it requires changing FMX.Platform.IOS.pas but you may be able to figure out how to do it on Android as well. The code and demo should also work with Appmethod.

Head over and check out the full tutorial on how to have your controls rotate in place when orientation changes on IOS in DElphi XE8 Firemonkey.

Have Delphi Firemonkey questions? Ask and get answers on StackOverflow.

Related posts
AndroidC++BuilderCode SnippetDelphiDemoFiremonkeyIOSOSXShowcaseWindows

Powerful Cross Platform Email App Sample In Delphi 10.4.1 FireMonkey For Android And IOS

AndroidC++BuilderDelphiFiremonkeyIOSOSXWindows

Significant Update Available For Delphi FireMonkey 10.4.1 On Android, IOS, OSX, Windows, And Linux

C++BuilderDelphiIDEWindows

Professional SVG Icon Image List For Delphi 10.4 FireMonkey On Windows

AndroidC++BuilderDelphiFiremonkeyIOSLiveBindingsOSXWindows

Top Tips And Tricks To Speed Up Development With Delphi 10.4 FireMonkey On Android and IOS

Sign up for our Newsletter and
stay informed

Leave a Reply