Skip to content
This repository was archived by the owner on Jun 19, 2025. It is now read-only.

Commit 934b3a1

Browse files
committed
Default to Photos library and capture on the beginning on demo.
1 parent ee0cb05 commit 934b3a1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Example/WPMediaPicker/DemoViewController.m

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,8 @@ - (void)viewDidLoad
3131
self.dateFormatter.timeStyle = NSDateFormatterMediumStyle;
3232
[self.tableView registerClass:[WPMediaGroupTableViewCell class] forCellReuseIdentifier:NSStringFromClass([WPMediaGroupTableViewCell class])];
3333
self.options = @{
34-
MediaPickerOptionsShowMostRecentFirst:@(NO),
35-
MediaPickerOptionsUsePhotosLibrary:@(NO),
34+
MediaPickerOptionsShowMostRecentFirst:@(YES),
35+
MediaPickerOptionsUsePhotosLibrary:@(YES),
3636
MediaPickerOptionsShowCameraCapture:@(YES),
3737
MediaPickerOptionsAllowMultipleSelection:@(YES)
3838
};

0 commit comments

Comments
 (0)