iphone animation

    技术2022-07-02  69

        CGRect frame = itemListView.frame;     [UIView beginAnimations:nil context:NULL];     [UIView setAnimationDuration:.75];         // Slide up based on y axis     // A better solution over a hard-coded value would be to     // determine the size of the title and msg labels and     // set this value accordingly     frame.origin.y = 390;     itemListView.frame = frame;         [UIView commitAnimations];


    最新回复(0)