ho UIView animazioneCome arrivare origine telaio UIView e dimensioni, mentre l'animazione
[UIView beginAnimations:nil context:NULL];
[UIView setAnimationDuration:25];
myview.frame = CGRectMake(218, 216, myview.frame.size.width * 0.5, myview.frame.size.height * 0.5);
[UIView commitAnimations];
e NSTimer con metodo di callback. La domanda: è possibile ottenere le dimensioni myview.frame e l'origine attuali all'interno del metodo di callback del timer?
o potrebbe esserci un altro modo per rintracciarlo?
sì, ho notato (circa immediatamente). ok, cercherò un altro modo ... – heximal
Se qualcuno ha ancora bisogno di questo, è possibile. Puoi usare: [[v.layer presentationLayer] frame]; – NWCoder
@NWCoder: Heh, figo! Non sapevo che era possibile. –