---
title: "How to get paused audio time in iOS?"  
description: "How to get paused audio time in iOS?"  
author: "Anonymous User"  
published: 2016-03-31  
updated: 2016-03-31  
canonical: https://www.mindstick.com/forum/34091/how-to-get-paused-audio-time-in-ios  
category: "iphone"  
tags: ["iphone", "ios", "objective c"]  
reading_time: 1 minute  

---

# How to get paused audio time in iOS?

I have a need to get [audio](https://www.mindstick.com/interview/1743/what-is-new-in-sencha-touch-audio-video-feature) time after [device](https://www.mindstick.com/blog/149/retriving-network-device-information-in-c-sharp) reboot. If I [pause](https://www.mindstick.com/interview/1349/how-do-you-handle-start-pause-continue-and-stop-calls-from-scm-within-your-application) an audio and after rebooting the device, and after I continue playback the paused audio.\
[Now](https://yourviews.mindstick.com/view/81402/it-s-liberals-vs-progressives-in-us-politics-now), my [problem](https://yourviews.mindstick.com/view/81399/tackling-the-problem-of-unemployment-during-corona-pandemic) is - how can I get the total time, I use this [code](https://yourviews.mindstick.com/view/85458/alan-turing-the-mastermind-behind-cracking-the-enigma-code-during-world-war-ii):

```
CMTime myAudioTime = self.audioPlayer.currentTime[self.audioPlayer seekToTime:myAudioTime];
```

but the above code is not working.\
[Please tell me](https://www.mindstick.com/forum/33900/please-tell-me-what-are-the-technique-to-content-optimization) how can I do it..!


---

Original Source: https://www.mindstick.com/forum/34091/how-to-get-paused-audio-time-in-ios

Copyright © MindStick Software Pvt. Ltd. This Markdown version is provided for developers, AI systems, and offline reading.
