Skip to content

Commit 8f87a64

Browse files
author
Albert M
committed
- demo improvements
1 parent 87c4b01 commit 8f87a64

3 files changed

Lines changed: 8 additions & 2 deletions

File tree

Example/UIImageViewSoftFrameAnimations/SampleViewController.m

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,11 +17,11 @@ @implementation SampleViewController
1717

1818

1919
-(IBAction)playIdle:(id)sender{
20-
[bird setIdleAnimation:@"bird_" numberOfDigits:2 firstDigit:1 andExtension:@"jpg" startNow:YES andFPS:0.09];
20+
[bird resumeIdle];
2121
}
2222

2323
-(IBAction)pauseIdle:(id)sender{
24-
[bird pauseSoftFrameAnimation];
24+
[bird pauseIdle];
2525
}
2626

2727
-(IBAction)playmouth:(id)sender{
@@ -39,6 +39,8 @@ - (void)viewDidLoad
3939
[super viewDidLoad];
4040
// Do any additional setup after loading the view, typically from a nib.
4141

42+
[bird setIdleAnimation:@"bird_" numberOfDigits:2 firstDigit:1 andExtension:@"jpg" startNow:YES andFPS:0.09];
43+
[bird pauseIdle];
4244

4345
}
4446

Example/UIImageViewSoftFrameAnimations/UIImageViewSoftFrameAnimations-Info.plist

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,8 @@
3232
<array>
3333
<string>armv7</string>
3434
</array>
35+
<key>UIStatusBarHidden</key>
36+
<true/>
3537
<key>UISupportedInterfaceOrientations</key>
3638
<array>
3739
<string>UIInterfaceOrientationPortrait</string>
@@ -45,5 +47,7 @@
4547
<string>UIInterfaceOrientationLandscapeLeft</string>
4648
<string>UIInterfaceOrientationLandscapeRight</string>
4749
</array>
50+
<key>UIViewControllerBasedStatusBarAppearance</key>
51+
<false/>
4852
</dict>
4953
</plist>

0 commit comments

Comments
 (0)