Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

[core] Expose rotation frames in NISnapshotRotation for subclasses.

  • Loading branch information...
commit b806c410280ab5db33526191b8a6c11b0563c9d1 1 parent 873917c
@jverkoey authored
Showing with 3 additions and 0 deletions.
  1. +3 −0  src/core/src/NISnapshotRotation.h
View
3  src/core/src/NISnapshotRotation.h
@@ -50,6 +50,9 @@
@property (nonatomic, readwrite, weak) id<NISnapshotRotationDelegate> delegate;
+@property (nonatomic, readonly, assign) CGRect frameBeforeRotation;
+@property (nonatomic, readonly, assign) CGRect frameAfterRotation;
+
- (void)willRotateToInterfaceOrientation:(UIInterfaceOrientation)toInterfaceOrientation duration:(NSTimeInterval)duration;
- (void)willAnimateRotationToInterfaceOrientation:(UIInterfaceOrientation)toInterfaceOrientation duration:(NSTimeInterval)duration;
- (void)didRotateFromInterfaceOrientation:(UIInterfaceOrientation)fromInterfaceOrientation;
Please sign in to comment.
Something went wrong with that request. Please try again.