1

ウィンドウに UIView を追加します。そして、それ自体のサイズから全画面表示までのアニメーションを実行します。しかし、画面の最後に、透明なスプラッシュが表示されます。私のuiviewではなく、Unityのインターフェースを見ることができますか?

私のコードは次のようなものです:

UIView * view = [[UIView alloc] initWithFrame:....]; // a animnation start view rect
CGRect rect = [view convertRect:view.bounds toViewarentView];
UIView * parentView = [[[[UIApplication sharedApplication] keyWindow] subviews]     objectAtIndex:0];
UIView *picv = [[PicView alloc] initWithFrame: parentView.bounds];
picv.frame = rect;
[parentView addSubviewicv];

[UIView animateWithDuration:2.3 animations:^{
picv.frame = parentView.bounds;
} completion:^(BOOL finished) {
[picv setFullImage]; 
}];

誰でも私にいくつかのヒントを教えてもらえますか?

4

0 に答える 0