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.

Awesome Control Rotation Trick Source Code For Delphi XE8 Firemonkey On IOS by Delphi XE5 XE6 XE7 XE8 10 Seattle Berlin Firemonkey, Delphi Android, Delphi IOS is licensed under a Creative Commons Attribution 4.0 International License.

Leave a Reply

Show Buttons
Hide Buttons
Read previous post:
Delphi XE8 Firemonkey ZXing Barcode Scanner Android IOS
Scan Barcodes With Object Pascal Version Of ZXing In #Delphi XE8 Firemonkey On Android And IOS

Developer Edward S. has converted part of the ZXing bar code scanning library to Delphi XE8 Firemonkey. The Zebra Crossing...

Close