This code below is for android, not for Swift/Xcode (But it describes what my goal is pretty clear) Animation animation = new AlphaAnimation(1, 0) //to change visibility from visible to invisibleĪtDuration(1000) //1 second duration for each animation cycleĪtInterpolator(new LinearInterpolator()) ĪtRepeatCount(Animation.INFINITE) //repeating indefinitelyĪtRepeatMode(Animation.REVERSE) //animation will start from end point once ended. This is what I have achieved so far, in XCode Swift: ellipses.alpha=0.8Īnd of course, it's not working! I'm not really sure on how to achieve this, and would be very happy to get some guidance. The Blink app enables you to keep an eye on the home or property even when you are a thousand miles. I have another code-snippet from an android app which sort of describe what I'm trying to achieve in XCode Swift. Start typing in the Make box to find your camera. I want the UIImageView to blink/flash with alpha, not with different images. I'm trying to achieve a blinking/flashing effect with some duration for a UIImageView in my iOS app.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |