|
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950 |
- @interface UIActivityContentViewController
- //- (void) setAirDropSlots:(NSArray*)arg1;
- - (void) updateContentWithPeopleProxies:(id)arg1 shareProxies:(id)arg2 actionProxies:(id)arg3 activitiesByUUID:(id)arg4 nearbyCountSlotID:(id)arg5 animated:(BOOL)arg6;
- @end
-
- @interface _UIActivityUserDefaultsViewController
- @property NSArray * favoritesProxies;
- @property NSArray * suggestionProxies;
- - (void) setFavoritesProxies:(NSArray*)arg1;
- - (void) setSuggestionProxies:(NSArray*)arg1;
- - (void) makeEditable:(NSArray*)arg1;
- @end
-
- @interface UserAP
- @property BOOL canEdit;
- @property BOOL canMove;
- @end
-
-
- %hook UIActivityContentViewController
- /*- (void) setAirDropSlots:(NSArray*)arg1 {
- NSLog(@"NOCSHARE - Prevented AirDropSlots!");
- //Do nothing
- }*/
-
- - (void) updateContentWithPeopleProxies:(NSArray*)arg1 shareProxies:(NSArray*)arg2 actionProxies:(NSArray*)arg3 activitiesByUUID:(NSMutableDictionary*)arg4 nearbyCountSlotID:(id)arg5 animated:(BOOL)arg6 {
- %orig([NSMutableArray new], arg2, arg3, arg4, arg5, arg6);
- }
- %end
-
- %hook _UIActivityUserDefaultsViewController
- - (void) setFavoritesProxies:(NSArray*)arg1 {
- %orig;
- [self makeEditable:self.favoritesProxies];
- }
-
- - (void) setSuggestionProxies:(NSArray*)arg1 {
- %orig;
- [self makeEditable:self.suggestionProxies];
- }
-
- %new
- - (void) makeEditable:(NSArray*)arg1 {
- for (UserAP * ap in arg1) {
- ap.canEdit = YES;
- ap.canMove = YES;
- }
- }
-
- %end
|