English 中文(简体)
2. 两条“F”字义词中的困难
原标题:Difficulty chaining two UIView animations

这里我想要完成的工作。

扫描仪将用100%的甲型六氯环己烷在屏幕上播放,并用电解调80秒。 一旦这一ation灭,我就希望它继续走得更远,同时向甲型六氯环己烷伸出援手。 0. 我希望,这两条动画显示是一种无缝 an。

我认为,也许我可以这样作,用《国际调查意见》进行估算,然后把第二次《国际调查意见》推到完成阶段,如下文所示。 然而,在完成整块施工之前,似乎出现了拖延,这妨碍了两条动画片的穿透。

谁能告诉我我我,我是想做什么?

感谢!

[UIView animateWithDuration:1.2 delay:0 options:UIViewAnimationCurveLinear animations:^{   
    myLabel.center = endPoint;

}
completion:^(BOOL finished) {
    [UIView animateWithDuration:1.2 delay:0 options:UIViewAnimationCurveLinear animations:^{                
         myLabel.center = endPoint2;
         myLabel.alpha = 0;
        }
        completion:^(BOOL finished) {
             NSLog(@"animations complete");
     }];
 }];
问题回答

这应当行之有效。 我看不出原因。 仅作少量添加,在<条码>上填满的支票。 因此,在估算时将考虑到任何错误。 另外,如果你计划使这一条形形形形形形形形色色,那么你需要通过设定旗帜<条码>查询。

   [UIView animateWithDuration:1.2 delay:0 options:UIViewAnimationCurveLinear | UIViewAnimationOptionAllowUserInteraction animations:^{   
        myLabel.center = endPoint;
        myLabel.alpha = 1;
    }
    completion:^(BOOL finished) {
        if(finished){
        [UIView animateWithDuration:1.2 delay:0 options:UIViewAnimationCurveLinear | UIViewAnimationOptionAllowUserInteraction animations:^{                
             myLabel.center = endPoint2;
             myLabel.alpha = 0;
            }
            completion:^(BOOL finished) {
                 NSLog(@"animations complete");
         }];
        }
     }];




相关问题
Asynchronous request to the server from background thread

I ve got the problem when I tried to do asynchronous requests to server from background thread. I ve never got results of those requests. Simple example which shows the problem: @protocol ...

objective-c: Calling a void function from another controller

i have a void, like -(void) doSomething in a specific controller. i can call it in this controller via [self doSomething], but i don t know how to call this void from another .m file. I want to call ...

ABPersonViewController Usage for displaying contact

Created a View based Project and added a contact to the AddressBook using ABAddressBookRef,ABRecordRef now i wanted to display the added contact ABPersonViewController is the method but how to use in ...

NSArray s, Primitive types and Boxing Oh My!

I m pretty new to the Objective-C world and I have a long history with .net/C# so naturally I m inclined to use my C# wits. Now here s the question: I feel really inclined to create some type of ...

NSUndoManager and runModalForWindow:

I have a simple Core Data app which displays a list of entities in the main window. To create or add new entities, I use a second modal window with a separate managed object context so changes can be ...

NSMutableArray values becoming "invalid"

I m trying to show a database information in a tableview and then the detailed information in a view my problem is as follow: I created a NSMutableArray: NSMutableArray *myArray = [[NSMutableArray ...

iPhone numberpad with decimal point

I am writing an iPhone application which requires the user to enter several values that may contain a decimal point (currency values, percentages etc.). The number of decimal places in the values ...

热门标签