I have solved this issues,
just comment out this line
fileName = [[fileName stringByAppendingString:@"-"] stringByAppendingString:[item valueForProperty:MPMediaItemPropertyArtist]];
because for some songs there is null artist so it’s crash……………….
More Related Contents:
- How to play video stream with MPMoviePlayerController in iOS
- iphone sdl Invalid conversion between vector type '__m64'
- Determine device (iPhone, iPod Touch) with iOS
- Proper way to exit iPhone application?
- How do I make an HTTP request in Swift?
- Setting action for back button in navigation controller
- Programmatically add custom event in the iPhone Calendar
- How to change UIPickerView height
- Reading ePub format
- iPad keyboard will not dismiss if modal ViewController presentation style is UIModalPresentationFormSheet
- How do I make UILabel display outlined text?
- Detecting Color of iPhone/iPad/iPod touch?
- Write a file on iOS
- How to lose margin/padding in UITextView
- ViewDidAppear is not called when opening app from background
- UITableView row animation duration and completion callback
- iOS memory allocation – how much memory can be used in an application? [duplicate]
- Detect iOS device type
- App not sized properly iOS 8 iPhone simulator
- Core Data multi thread application
- How to set device (UI) orientation programmatically?
- Stop UIWebView from “bouncing” vertically?
- How to integrate Facebook without redirect Safari browser in iOS app with latest FBSDK
- How can a web application send push notifications to iOS devices? [closed]
- missing private key in the distribution certificate on keychain
- How to add line break for UILabel?
- Why does my programmatically created screenshot look so bad on iOS 7?
- Draw line in UIView
- Design UITableView’s section header in Interface Builder
- Dynamically getting height of UILabel according to Text return different Value for iOS 7.0 and iOS 6.1