UIImageView not fading out as it should in the simulator?

i am using an animation block to fade out a view. fading in works perfectly, however fading it out does not. it waits for the animationduration, then just disappears. I hope that it is because of the simulator being too slow, but i might have just made a stupid mistake; as i will probably have to wait a while before i can test it on my device, i'd like you guys to see if something's wrong
i set up 4 different views. depending on a value, either all of them, none of them or just 2 of them have to be shown. If a view that's needed now wasn't visible it fades in, same thing other way around for views that aren't needed anymore.
if (wc==1) {
[UIView animateWithDuration:1 animations:^{
viewOne.alpha=100;
viewTwo.alpha=0;
viewThree.alpha=0;
viewFour.alpha=100;
else if (wc==2) {
[UIView animateWithDuration:1 animations:^{
viewOne.alpha=0;
viewTwo.alpha=0;
viewThree.alpha=0;
viewFour.alpha=0;
else {
[UIView animateWithDuration:1 animations:^{
viewOne.alpha=100;
viewTwo.alpha=100;
viewThree.alpha=100;
viewFour.alpha=100;
like i said, it works fine for fading in, but it does not for fading out... this function is being called after i swipe the view, and the value WC has been changed. thanks a lot for reading this text already

alpha values should be between 0 and 1

Similar Messages

  • ALV GRID - export only columns not faded out

    Hello,
    I hope that this is possible but till now I have no idea.
    The request is to provide a download/export function (moving the export file directly to a specific location the user is not allowed to modify-> so standard function not allowed based on specification) which will only export the columns from the ALV GRID which are not faded out.
    With the standard files download from the menu bar this is possible. 
    But how to do this starting with a self defined button?
    best regards
    Dirk

    hi,
    if u need a custmozied button with all standard ALV fucntions,
    1. goto <b>SE80</b>, under thre <b>function group SALV</b>, there will be <b>GUI_STATUS named as ST</b>ANDARD.
    2. copy that into ur program, and add ur own button in that , then write the code for that by chekcing SY-UCOMM.
    With Rgds,
    S.Barani

  • If my iphone is not dailing out. What should i do?

    If my iphone is not dailing out. What should i do???

    Mickey311 wrote:
    If my iphone is not dailing out. ...
    What exactly do you mean...
    What Troubleshooting steps have you tried and what were the results...
    Any Error messages or Alerts...

  • How to update zero to a column value when record does not exist in table but should display the column value when it exists in table?

    Hello Everyone,
    How to update zero to a column value when record does not exist in table  but should display the column value when it exists in table
    Regards
    Regards Gautam S

    As per my understanding...
    You Would like to see this 
    Code:
    SELECT COALESCE(Salary,0) from Employee;
    Regards
    Shivaprasad S
    Please mark as answer if helpful
    Shiv

  • I have  a iphone 5 and i can not figure out how to turn on the LED notification light. is this even possable? if not how do i know if i missed a call when i was not there to answer it visualy

    I have  a iphone 5 and i can not figure out how to turn on the LED notification light. is this even possable? if not how do i know if i missed a call when i was not there to answer it visualy

    If you were not there, how would you see the led?
    Anyway missed calls will appear on your Lock screen under the Missed tab.
    Or a small red numbered badge will appear on the Phone App icon when you have missed calls. You can then access the Recents Tab in the Phone App to see whcih calls were missed.
    Missed Calls are shown in red there

  • Gallery image not fading out

    Hi
    I have two galleries. One using spry 1.4 code and one 1.6.1. The 1.4 gallery fades out an image before fading the new one in. This is what I want.
    But the 1.6.1 gallery the image does not fade out. It just goes to white (or opacity 0) No fading occurs. The it fades in the nex image.
    Can some one explain what is wrong with the code in the 1.6.1 gallery?
    1.4 gallery http://www.olle.se.st/album/
    1.6.1 gallery http://www.dracke.se/albums/pictures.php
    Regards
    Olle

    Hi.
    Never mind. I found a post about the bug in gallery.js
    gBehaviorsArray["mainImage"] = new Spry.Effect.Opacity(img, Spry.Effect.getOpacity(img), 0, { duration: 400,
        finish: function()
    should be ...
    gBehaviorsArray["mainImage"] = new Spry.Effect.Opacity(img, parseFloat(Spry.Effect.getOpacity(img)), 0, { duration: 400,
    finish: function()
    regards
    olle

  • TS2097 I inserted a new DVD, it is working but not coming out. Whenever I try to eject it, it does not come out. Apple should provide us the easy and manual way to eject CD/DVD or?

    Hello,
    I inserted a new DVD in my mac book pro, its working and the drive is reading the dvd but unfortunately is not coming out. I have tried several ways mentioned on all over the net and apple community websites but nothing has worked so far.
    I need a easier and manual way to eject the DVD. Where is apple's help?
    Please help me. This is one of the weaknesses Apple should work on because it is causing us pain and loss of efficiency which is not apple's quality.
    Thanks

    Thanks for asking, actually I just found a trick on a website.
    It siad that restart MBP while holding eject button, I did it and DVD came out right away.
    I hope that this works out for everyone.
    But still there is a need for a manual eject system so that people don't worry about stucking the DVD or CD in th drive.
    Thanks anyway dear.

  • Title not Fading Out

    I'm new to Motion 5 (making the transition from FCP 7 to X) and trying to create a simple five second long title that fades in in one second (30 frames) and fades out in the last one second (30 frames).
    I created the title and added the basic motion Fade In/Fade Out, set both the Fade In and fade Out times to 30 frames. The Fade In is working fine but the Fade Out is not. Start and End Offsets are both set to 0. Can anyone point out what I might be doing wrong?
    Thank You
    Mark

    When you add a text object to a project, how long it "plays" goes until the end of the project. If you move the text in time so that it starts later, it still would play for the same length of time and it is possible to move the "end" of the object past the end of the project play length.
    When you add a behavior like Fade In/Fade Out, the beginning and end of the behavior exactly match the beginning and end of the object it is applied to.
    If you have moved your text object so that the end goes past the end of the project, then you will not see the fade out behavior because it is happening "after" the project.
    If this is the case of your problem, you can easily solve this by selecting the object in the Layers List and move the playhead to the point you want the Fade Out to end and type the o key to set an Out Point for the object (the Fade In/Fade Out behavior should be trimmed the same automatically.)
    [Hope I explained this well enough...]

  • How can i download something and then open it to use? I can not figure out how to successfully download the new iTunes.

    I can not figure out how to download the new version of itunes and open it on my mac. Might be a simple solution i just cant get it to work.
    Thanks for your help!    
              Amber Rose

    Did it not show up in yoour Software Update (in System Preferences)?
    You can directly download 10.5.2 from Apple from here.  And if that doesn't work (it didn't when I just tried it -- something wrong with the apple itunes site I assume) download it through macupdate from here.

  • My colors are not printing out right after I changed the cartridges/cleaned printheads

    I have an officejet pro 7780 all in one and the colors were starting to fade and I had a message my inks were low so I exchanged the old color cartriges with Hp cartridges, cleaned the printheads and ran all diagnostics and I still can' t get the colors to print correctly.  I hace veen trying to print an orange background and it keeps coming out pink.  I even uninstalled and reinstalled the printer and still the same, ecverything else works fine.

    The troubleshooting steps in this document may resolve your issue.
    Bob Headrick,  HP Expert
    I am not an employee of HP, I am a volunteer posting here on my own time.
    If your problem is solved please click the "Accept as Solution" button ------------V
    If my answer was helpful please click the "Thumbs Up" to say "Thank You"--V

  • Dreamweaver CC fluid grid divs not stretching out to cover 100% of the screen

    Hi there,
    I am doing another responsive layout using DW CC and I have come across a problem.
    The design has coloured divs stretching across the page at 100% with a coloured background and borders.
    I have already done the design up as a fixed width layout to get the colour codes etc and that is working fine, with the colours stretching across the screen.
    Now I am putiing the design into DW CC using fluid grid layout and there is a white border outlining the website.
    I can't work out how to get rid of this. Below are extracts of my two lots of CSS stylesheets, one for a fixed grid layout and one for a responsive layout
    FIXED WIDTH CSS
    body,td,th {
        font-family: Calibri;
        font-size: 14px;
        color: #000;
    body {
        margin-left: 0px;
        margin-top: 0px;
        margin-right: 0px;
        margin-bottom: 0px;
    */This header wrapper stretches across the entire screen no matter what the size and does not have a white border on the left and the right
    #headerWrapper {
        background-color: #000;
        height: 101px;
        width: 100%;
        margin-right: auto;
        margin-left: auto;
        border-bottom-width: 2px;
        border-bottom-style: solid;
        border-bottom-color: #BDDB6D;
    FLUID GRID CSS
    The fluid grid layout CSS has the following in it:
    .fluid {
        clear: both;
        margin-left: 0;
        width: 100%;
        float: left;
        display: block;
    .fluidList {
        list-style:none;
        list-style-image:none;
        margin:0;
        padding:0;       
    /* Mobile Layout: 480px and below. */
    .gridContainer {
        margin-left: auto;
        margin-right: auto;
        width: 86.45%;
        padding-left: 2.275%;
        padding-right: 2.275%;
        clear: none;
        float: none;
    #div1 {
    */This header wrapper stretches across the grid layout only and has a white border on the left and the right
    #headerWrapper {
        max-width: 100%;
        height: 101px;
        background-color: #000;
        border-bottom-width: 2px;
        border-bottom-style: solid;
        border-bottom-color: #BDDB6D;
    What do I need to add to the fluid grid layout to make the headerWrapper div stretch across the screen, no matter what the width?
    What do I have to put in the fluid grid CSS to get it to do this?
    Thanks in advance!

    I did it! I can't believe it. The code I used is follow. The bar divs set the colour and border across the entire page and the wrapper divs contain the content in the various bars across the page.
    I must say that DW CC fluid grids are much more stable to work with and can take a lot of hand coding now. It is a great improvement on when I tried to use Fluid grids on a project last year.
    IN THE PHONE MEDIA QUERY SECTION
    .gridContainer {
              margin-left: auto;
              margin-right: auto;
              width: 100%;
              padding-left: 0;
              padding-right: 0;
              clear: none;
              float: none;
    #headerBar {
              background-color: #000;
              min-height: 101px;
              border-bottom-width: 2px;
              border-bottom-style: solid;
              border-bottom-color: #BDDB6D;
              padding-top: 2.735px;
    #headerWrapper {
              width: 86.45%;
        padding-left: 2.275%;
        padding-right: 2.275%;
              clear: none;
        float: none;
              margin-left: auto;
    #menuAnimationBar {
              background-color: #B7B7B7;
              height: 293px;
              border-bottom-width: 2px;
              border-bottom-style: solid;
              border-bottom-color: #BDDB6D;
              background-image: -webkit-gradient(linear, 50.00% 0.00%, 50.00% 100.00%, color-stop( 0% , rgba(153,153,153,1.00)),color-stop( 100% , rgba(192,192,192,1.00)));
              background-image: -webkit-linear-gradient(270deg,rgba(153,153,153,1.00) 0%,rgba(192,192,192,1.00) 100%);
              background-image: linear-gradient(180deg,rgba(153,153,153,1.00) 0%,rgba(192,192,192,1.00) 100%);
    display: none;
    #contentBar {
              background-color: #F8FCF1;
              min-height: 200px;
              background-image: -webkit-gradient(linear, 50.00% 0.00%, 50.00% 100.00%, color-stop( 0% , rgba(245,251,234,1.00)),color-stop( 100% , rgba(251,253,247,1.00)));
              background-image: -webkit-linear-gradient(270deg,rgba(245,251,234,1.00) 0%,rgba(251,253,247,1.00) 100%);
              background-image: linear-gradient(180deg,rgba(245,251,234,1.00) 0%,rgba(251,253,247,1.00) 100%);
    #contentWrapper {
              width: 86.45%;
        padding-left: 2.275%;
        padding-right: 2.275%;
              clear: none;
        float: none;
              margin-left: auto;
    #socialMediaBar {
              background-color: #000;
              min-height: 83px;
              border-top-width: 2px;
              border-bottom-width: 2px;
              border-top-style: solid;
              border-bottom-style: solid;
              border-top-color: #BDDB6D;
              border-bottom-color: #BDDB6D;
    #socialMediaWrapper {
              color: #FFF;
              width: 86.45%;
              padding-left: 2.275%;
              padding-right: 2.275%;
              clear: none;
              float: none;
              margin-left: auto;
              padding-top: 2.275%;
    #footerBar {
              color: #FFF;
              background-color: #AAAAAA;
              min-height: 176px;
              background-image: -webkit-gradient(linear, 50.00% 0.00%, 50.00% 100.00%, color-stop( 0% , rgba(153,153,153,1.00)),color-stop( 100% , rgba(185,185,185,1.00)));
              background-image: -webkit-linear-gradient(270deg,rgba(153,153,153,1.00) 0%,rgba(185,185,185,1.00) 100%);
              background-image: linear-gradient(180deg,rgba(153,153,153,1.00) 0%,rgba(185,185,185,1.00) 100%);
    #footerWrapper {
              width: 86.45%;
        padding-left: 2.275%;
        padding-right: 2.275%;
              clear: none;
        float: none;
              margin-left: auto;
    IN THE TABLET MEDIA QUERY SECTION
    .gridContainer {
              width: 100%;
              padding-left: 0%;
              padding-right: 0%;
              clear: none;
              float: none;
              margin-left: auto;
    #div1 {
    #headerBar {
    #headerWrapper {
              width: 90.675%;
        padding-left: 1.1625%;
        padding-right: 1.1625%;
              clear: none;
        float: none;
        margin-left: auto;
    #menuAnimationBar {
    display: none;
    #contentBar {
    #contentWrapper {
              width: 90.675%;
        padding-left: 1.1625%;
        padding-right: 1.1625%;
              clear: none;
        float: none;
        margin-left: auto;
    #socialMediaBar {
    #socialMediaWrapper {
              width: 90.675%;
        padding-left: 1.1625%;
        padding-right: 1.1625%;
              clear: none;
        float: none;
        margin-left: auto;
    #footerBar {
    #footerWrapper {
              width: 90.675%;
        padding-left: 1.1625%;
        padding-right: 1.1625%;
              clear: none;
        float: none;
        margin-left: auto;
    #menuAnimationWrapper {
    IN THE PC MEDIA QUERY SECTION
    .gridContainer {
              width: 100%;
              max-width: 1920px;
              padding-left: 0%;
              padding-right: 0%;
              margin: auto;
              clear: none;
              float: none;
              margin-left: auto;
    #headerBar {
    #headerWrapper {
              width: 88.5%;
        max-width: 1232px;
        padding-left: 0.75%;
        padding-right: 0.75%;
        margin: auto;
        clear: none;
        float: none;
        margin-left: auto;
    #menuAnimationBar {
              display: block;
    #contentBar {
    #contentWrapper {
              width: 88.5%;
        max-width: 1232px;
        padding-left: 0.75%;
        padding-right: 0.75%;
        margin: auto;
        clear: none;
        float: none;
        margin-left: auto;
    #socialMediaBar {
    #socialMediaWrapper {
              width: 88.5%;
        max-width: 1232px;
        padding-left: 0.75%;
        padding-right: 0.75%;
        margin: auto;
        clear: none;
        float: none;
        margin-left: auto;
    #footerBar {
    #footerWrapper {
              width: 88.5%;
        max-width: 1232px;
        padding-left: 0.75%;
        padding-right: 0.75%;
        margin: auto;
        clear: none;
        float: none;
        margin-left: auto;
    #menuAnimationWrapper {
              width: 88.5%;
              height: 293px;
        max-width: 1232px;
        padding-left: 0.75%;
        padding-right: 0.75%;
        margin: auto;
              clear: none;
        float: none;
        margin-left: auto;

  • My 4500 all in one goes into power save and will not come out of it without pulling the power plug.

    I have tried hitting the power button short and long, pushing every button, but it seems the only way out is pulling the power plug.
    Thanks for any help.

    HI
    This is a known issue and HP is working on Firmware to fix this issue. This will be released soon.
    So please use the workaround for the time being if the printer goes to power saving mode.
    regards
    Mugu
    ---- If my answer was helpful please click the "Kudos" star.
    If your problem is solved please click the "Accept as Solution" button ---->
    Though I work for HP the post are of my own

  • TS4006 my iphone has gone into the lost mode and i have tried to reactivate it with itunes but its not working. itunes says i should insert the simcard pin code but there is no option for me to do that on the phone or itunes. please help........

    please help my iphone 4s has gone into the lost mode and i cant re-activate it i dont know what to do. Itunes needs me to put the Simcard pin but i dont have any option for that.

    Hello Buzzy78,
    Try to put your iPhone in Recovery mode and then Restore it to Factory settings and see if you are able to get into your iPhone.
    Recovery Mode : http://support.apple.com/kb/HT1808

  • My 3G is not coming out of sleep mode

    I've had my iPhone for 2 days. Saturday morning when I woke up, the phone would not come out of sleep mode. The phone was on, and would ring when a call came in, but the screen is blank. It wouldn't accept a hard restart for about 30 minutes. My husband was finally able to give it a hard restart. We thought it was a software glitch and was fine. This morning it's the same deal. The phone can be turned on and off, but the screen is black. This time, we have been unsuccessful with a hard restart.
    Should I just head back to the store or can I fix this?

    My 3G did this, and I went and got the phone replaced.
    But make sure that the screen isn't working. I had managed to get mine working, so they didn't believe me, one week later I show back up with the phone working, but no screen. Got changed out real quick at that point.

  • Gmail task list does not pop-out

    After installing 3.6.7 gmail task list does not pop out. When I click the pop-out arrow, the task list opens in another tab, not in another stripped down window like it used to. Any ideas?
    == URL of affected sites ==
    http://

    Dear,
    Is this quality Plan is back dated and Lot size should be 1 to 9999,999.
    Why are you creating rate routing? check lot for 04 insp type in QA02.
    Or for old material just create one new order and test it once again.
    You can check the statuses in config.
    QM>Quality Planning>Inspection Planning>General>Define Task List Status.
    You should find that "4" is in there with all the check marks on.
    QM--> Quality Inspection --> Inspection Lot Creation --> Maintain Inspection Lot Origins and Assign Inspection Types.
    There is a column called status. For each inspection ORIGIN, you can specify the status of the inspection plan. It appears someone in your system changed the 4's to an X and then created the status "X".
    Regards,
    R.Brahmankar

Maybe you are looking for

  • Generating a new SSL cert for Murmurd in light of Heartbleed

    Hello all, I'm sure there are some server operators out there who want to renew their keys and certificates generated and used by OpenSSL in light of the Heartbleed exploit. Since I just figured out how to force murmur to regenerate a new key and cer

  • HT201303 I forgot answer my security questions plese help me

    i forgot answer my security questions plese help me

  • Oracle XE on Windows x64

    Hello, is possible to install Oracle Express Edition on Windows x64 ? When I try to install I get error "Error: 1719 The Windows Installer Service could not be acessed"

  • Add pages dynamically to adobeform

    Hi, I need to add pages dynamically to adobeform. For example, i need that a page appears in the final PDF if one table have values, but if table is empty, all of page items should not appear in the final PDF. Can anyone help me ? Best Regards, João

  • Error when exporting from Quicktime Pro

    I don't really like how any of the Adobe products export H.264 .mov files so my normal workflow that I've been doing for years is to export as a high quality MPEG4 and then open it in Quicktime and export as H.264 from there. I went to do this today