커뮤니티 오디오 녹음
- mode: videoRecording - 재생 mode: moviePlayback
This commit is contained in:
		| @@ -87,7 +87,7 @@ extension ContentPlayManager { | ||||
|                  | ||||
|                 do { | ||||
|                     let audioSession = AVAudioSession.sharedInstance() | ||||
|                     try audioSession.setCategory(.playback, mode: .default) | ||||
|                     try audioSession.setCategory(.playback, mode: .moviePlayback) | ||||
|                     try audioSession.setActive(true) | ||||
|                      | ||||
|                     self.player = try AVAudioPlayer(data: audioData) | ||||
|   | ||||
| @@ -48,7 +48,7 @@ final class CreatorCommunityMediaPlayerManager: NSObject, ObservableObject { | ||||
|              | ||||
|             do { | ||||
|                 let audioSession = AVAudioSession.sharedInstance() | ||||
|                 try audioSession.setCategory(.playback, mode: .default) | ||||
|                 try audioSession.setCategory(.playback, mode: .moviePlayback) | ||||
|                 try audioSession.setActive(true) | ||||
|                  | ||||
|                 self.player = try AVAudioPlayer(data: audioData) | ||||
|   | ||||
| @@ -104,7 +104,7 @@ class CreatorCommunitySoundManager: NSObject, ObservableObject { | ||||
|          | ||||
|         DispatchQueue.main.async { | ||||
|             do { | ||||
|                 try self.audioSession.setCategory(.playback, mode: .default) | ||||
|                 try self.audioSession.setCategory(.playback, mode: .moviePlayback) | ||||
|                 try self.audioSession.setActive(true) | ||||
|                  | ||||
|                 if let url = url { | ||||
|   | ||||
| @@ -143,23 +143,24 @@ struct UserProfileFanTalkCheersItemView: View { | ||||
|                                 VStack(alignment: .leading, spacing: 8.3) { | ||||
|                                     Text(reply.content) | ||||
|                                         .font(.custom(Font.medium.rawValue, size: 12)) | ||||
|                                         .foregroundColor(Color(hex: "ffffff")) | ||||
|                                         .foregroundColor(Color.white) | ||||
|                                         .frame(minWidth: 100) | ||||
|                                         .padding(.horizontal, 6.7) | ||||
|                                         .padding(.vertical, 6.7) | ||||
|                                         .background(Color.button.opacity(0.3)) | ||||
|                                         .cornerRadius(16.7) | ||||
|                                         .padding(.top, 18.3) | ||||
|                                         .fixedSize(horizontal: false, vertical: true) | ||||
|                                      | ||||
|                                     HStack(spacing: 6.7) { | ||||
|                                         Text(reply.date) | ||||
|                                             .font(.custom(Font.medium.rawValue, size: 10.7)) | ||||
|                                             .foregroundColor(Color(hex: "525252")) | ||||
|                                             .foregroundColor(Color.gray52) | ||||
|                                          | ||||
|                                         if userId == UserDefaults.int(forKey: .userId) { | ||||
|                                             Text("답글 수정") | ||||
|                                                 .font(.custom(Font.medium.rawValue, size: 10.7)) | ||||
|                                                 .foregroundColor(Color(hex: "9970ff")) | ||||
|                                                 .foregroundColor(Color.button) | ||||
|                                                 .onTapGesture { | ||||
|                                                     self.replyContent = reply.content | ||||
|                                                     isShowInputReply = true | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Yu Sung
					Yu Sung