             // 尽量滚到底部
             tryScrollToBottom()
         }
-        
-        self.waverView.frame = CGRectMake(0, 0, self.view.bounds.size.width, self.view.bounds.size.height - self.messageToolbar.frame.size.height)
     }
 
     // MARK: UI

    var isTryingShowFriendRequestView = false

    var originalNavigationControllerDelegate: UINavigationControllerDelegate?

    var waverView: YepWaverView!
    var samplesCount = 0
    let samplingInterval = 6

    let sectionInsetTop: CGFloat = 10
    let sectionInsetBottom: CGFloat = 10

    lazy var moreView = ConversationMoreView()

    lazy var pullToRefreshView = PullToRefreshView()

    lazy var waverView: YepWaverView = {
        let view = YepWaverView(frame: CGRectMake(0, 0, self.view.bounds.size.width, self.view.bounds.size.height - self.messageToolbar.frame.size.height))

        view.waver.waverCallback = { waver in

            if let audioRecorder = YepAudioService.sharedManager.audioRecorder {

                if (audioRecorder.recording) {
                    //println("Update waver")
                    audioRecorder.updateMeters()

                    let normalizedValue = pow(10, audioRecorder.averagePowerForChannel(0)/40)

                    waver.level = CGFloat(normalizedValue)
                }
            }
        }

        return view
        }()
    var samplesCount = 0
    let samplingInterval = 6
    
    @IBOutlet weak var conversationCollectionView: UICollectionView!

