UIButton is moving... it should not be moving - ios

I have a .xib with two UIButtons right next to each other.
When I start up the app, everything looks fine. Once I push play, the audio starts, the button turns to pause, and everybody is happy.
If I push stop, the play button moves to the left, and leaves a trail of dots...
In iOS 6, this was not an issue.
Does anyone know why this might be happening??

Looks like at some point a title of '...' is being added to that Play button. That's just a guess, but the default layout for a button is to have the image on the left and the title on the right.

There is a few things you can do.
First, clear all constraints in window like below...
Second... Check all the states of your button (interface and code), see if you didn't add a title '...' to your button in the active state or the enabled and disabled state.
here is the picture update to see it clearer...

Related

Script to Prevent Google Slides from Opening New Tab When Touched vs. Clicked

I created a digital Pop It in Google Slides with about 120 slides, which is Published to the Web from the File menu. Each slide has a transparent image overlaying it that is linked to Next Slide. When the user clicks with their mouse on the transparent image, it proceeds to the next slide, and works as it is expected to.
However, when the user has a touch screen, and then presses on the screen to advance it to the next slide, it opens up a new tab and stays on the same slide, and does not advance to the next slide.
Does anyone know of a script that can turn this off so that if a user is pressing on the screen to advance the slide, it will actually work? Or is this a bug?
Thanks for your help!
FYI: the slide may take a little while to load.
You can view the slide here.
I tested it out and apparently it might be a bug. I removed the transparent image with the link to the next slide and the issue is the same.
I recommend you to report it on:
https://issuetracker.google.com/issues/new?component=191598&template=824111
And describe the issue.
As a workaround, if you open the Google Slides app, it works as intended.

How to add sound effects to floatanimation in delphi firemonkey?

I have created a game that basically add the numbers in the blocks to each other by dragging them on top of each other. It works great. But I would like to add sound effects to the drag and drop move that is being done with the floatanimation feature of the button. I couldnt see an event or a property that handles this action.
How could I include a sound effect to the floatanimation of the pressing, draggin and dropping of an object (such as button) ?
Thank you.
Raf.
try using TMediaPlayer, before you start your TFloatAnimation

Icons for iOS Action Extensions Disappearing After Share Button Menu Disappears

I've been working on a couple of iOS action extensions for a while, but I have noticed an odd behavior I was wondering if anyone else saw. In short, after you install and turn the extension on from the share button menu and leave the menu, it disappears from the menu.
More specifically, when you first install the extension, you expect you have to press the share button, scroll the bottom bar menu (for the action extensions) all the way to the right, press the "More" button, toggle your extension on and then press done. At that point the icon for the extension will appear and you can use it. However, the next time you want to use the action extension, the icon will not appear and you have to repeat the process, even though when you look in the "More" menu, the toggle switches for your app are already flipped on.
I wish I could add images to further elaborate here, but I can't because of StackOverflow's rules.
I have not been able to find any information on this any where, so I was hoping someone here has noticed this behavior or not. Any help on resolving this would be greatly appreciated.
This has been a bug in iOS 8.3, and has been acknowledged by Apple.
Fixed in iOS 9.
Issue on OpenRadar
How to solve:
The new share extension is NOT visible in the default list, and is CHECKED in the “More…” list. Changing any of the switches and tapping Done will show the new share extension in the default list.

How to disable the touch delay at bottom of the screen when control center access is enabled in app?

I'm working on an app which has buttons at the bottom of the screen(looks like tab bar). I found that if I enable the access to control center in app, there will be a notable delay between tapping on the buttons and the highlighted image showing. In fact the highlighted image will never show if I do not hold on the touch for at least about 0.5 second. I'm wondering if there is a way to disable the delay even the access of control center in app is ON so that users of my app will know the buttons did have been tapped. Any hint will be appreciated.

ECSlider slight changes, Up to Down Menu Iphone

I am working with ECSSlider (https://github.com/edgecase/ECSlidingViewController) for iPhone. Need to make some changes in it. I need to show menu by sliding DOWN the top menu and then after selecting option slide back UP the top menu. I have tried making changes in it but couldn't get the desired results. Changed code is at:https://www.dropbox.com/s/3ujzfsvirktkxz4/ECSlidingViewController-master%20copy.zip
Please guide me if you know the way.

Resources