IPad how to change the transparency of a custom form, gradually let it show up? Members Manga
Reply:
First set alpha to 0
Then an animation [UIView beginAnimations: @ "Fade in" context: nil];
[UIView setAnimationDuration: 0.5];
Here alpha is set to 1;
[UIView commitAnimations];
Reply:
This is what your grammar, do not understand, my form is modeled using Qt C + + to do, what you, with c's
Reply:
QT support ios developed? On the first floor to the objective-c language.
Reply:
No, the package imitate some parts of Qt
Reply:
Form displays when switching gradient effect, want to achieve transparency in the online copy some code into my implementation switching function, but there has been an error saying the code below:
CGContextRef context = UIGraphicsGetCurrentContext ();
[UIView beginAnimations: nil context: context];
[UIView setAnimationCurve: UIViewAnimationCurveEaseInOut];
[UIView setAnimationDuration: 0.3f];
[M_showChild setAlpha: 0.0f]; / / here m_showChild suggestive questions, I do not know what this is, how to set to achieve ah
[UIView commitAnimations];
Reply:
You need to add the HEAD file
Reply:
[Quote = reference to the 6th floor ixcoder reply:]
You need to add the HEAD file
[/ Quot
Increase over the
Reply:
m_showChild that you want to control the form View object.
Reply:
Then you go to look for that layer CAAnimation can find C function to achieve this functionality;
You can also use the timer continuously changing transparency interface.
No comments:
Post a Comment