Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Objective-C/TOCropViewController/TOCropViewController.h
Original file line number Diff line number Diff line change
Expand Up @@ -388,7 +388,7 @@
@param aspectRatioPreset The aspect ratio preset
@param animated Whether the transition to the aspect ratio is animated
*/
- (void)setAspectRatioPreset:(TOCropViewControllerAspectRatioPreset)aspectRatioPreset animated:(BOOL)animated NS_SWIFT_NAME(setAspectRatioPresent(_:animated:));
- (void)setAspectRatioPreset:(TOCropViewControllerAspectRatioPreset)aspectRatioPreset animated:(BOOL)animated NS_SWIFT_NAME(setAspectRatioPreset(_:animated:));

/**
Play a custom animation of the target image zooming to its position in
Expand Down
2 changes: 1 addition & 1 deletion Swift/CropViewController/CropViewController.swift
Original file line number Diff line number Diff line change
Expand Up @@ -542,7 +542,7 @@ open class CropViewController: UIViewController, TOCropViewControllerDelegate {
@param animated Whether the transition to the aspect ratio is animated
*/
public func setAspectRatioPreset(_ aspectRatio: CropViewControllerAspectRatioPreset, animated: Bool) {
toCropViewController.setAspectRatioPresent(aspectRatio, animated: animated)
toCropViewController.setAspectRatioPreset(aspectRatio, animated: animated)
}

/**
Expand Down