- Home /
UI Button/iTween issue on iOS build
Hi. I am working on an iOS version for a game. On the iPad however there is a (probably) UI related issue. I have tried to debug this and find out whats going wrong but i'm inexperienced with mobile device debugging.
So the issue is that when the player swipes to reveal a manual it cannot be closed anymore and I cannot switch tabs/pages anymore either. The weird thing is that in the editor it works and even when using Unity Remote. On the iPad build itself i know the correct is method is being ran when interacting with the UI buttons because of audio queues.
Its also possible for it to be an issue with the plugin used (iTween) to animate these elements. However if that is the case its still strange to me that it would only work once on the iPad (its used to bring up the manual as well, which works fine).
The issue would be in the code below and I am running out of ideas. If anyone has experience with similar issues on iPad or iTween i'd appriciate any advice or tips!
bookKeeper.CloseManual();
// Stop old move actions if they where active
iTween.StopByName("activateScreenMove");
iTween.StopByName("activateScreenRotate");
// Start new move actions
iTween.MoveTo(gameObject, iTween.Hash("name", "inActivateScreenMove", "position", inactivePosition, "islocal", true, "time", secondsToMove, "easytype", iTween.EaseType.linear));
iTween.RotateTo(gameObject, iTween.Hash("name", "inActivateScreenRotate", "rotation", inactiveRotation, "islocal", true, "time", secondsToMove, "easytype", iTween.EaseType.linear));
// Disable closing and enable the opening
InfoScreenOpenClose.transform.Find("Open").gameObject.SetActive(true);
InfoScreenOpenClose.transform.Find("Close").gameObject.SetActive(false);
Your answer
Follow this Question
Related Questions
AndroidJavaProxy equivalent class for iOS 0 Answers
Why my sprites are pixelated? 1 Answer
why a gui image is rendered white on ios ? 0 Answers
UI Text does not show up on IOS build. 0 Answers