소스 검색

fix position AHKActionSheet

Marino Faggiana 7 년 전
부모
커밋
ac6d806409
2개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 1 1
      iOSClient/Favorites/CCFavorites.m
  2. 1 1
      iOSClient/Main/CCMain.m

+ 1 - 1
iOSClient/Favorites/CCFavorites.m

@@ -420,7 +420,7 @@
     
     metadata = [_dataSource objectAtIndex:indexPath.row];
     
-    AHKActionSheet *actionSheet = [[AHKActionSheet alloc] initWithView:self.view title:nil];
+    AHKActionSheet *actionSheet = [[AHKActionSheet alloc] initWithView:self.tabBarController.view title:nil];
     
     actionSheet.animationDuration = 0.2;
     

+ 1 - 1
iOSClient/Main/CCMain.m

@@ -4346,7 +4346,7 @@
     
     // ******************************************* AHKActionSheet *******************************************
     
-    AHKActionSheet *actionSheet = [[AHKActionSheet alloc] initWithView:self.view title:nil];
+    AHKActionSheet *actionSheet = [[AHKActionSheet alloc] initWithView:self.tabBarController.view title:nil];
     
     actionSheet.animationDuration = 0.2;