ipod

Get album year for item in iPod library?

ぐ巨炮叔叔 提交于 2019-12-18 03:43:32
问题 Trying the following code: // Per albums MPMediaQuery *albumsQuery = [MPMediaQuery albumsQuery]; NSArray *collections = [albumsQuery collections]; for (MPMediaItemCollection *collection in collections) { NSDate *collectionReleaseDate = [collection valueForProperty: MPMediaItemPropertyReleaseDate]; NSLog(@"collection release date: %@", collectionReleaseDate); MPMediaItem *representativeItem = [collection representativeItem]; NSDate *representativeItemReleaseDate = [representativeItem

iPod Touch compared to iPhone as development platform for iPhone apps

南楼画角 提交于 2019-12-18 02:18:36
问题 Essentially I'd like to know just how compatible are the iPhone and the iPod Touch. I would like to know if I could buy an iPod Touch (and thus save some cash) and develop iPhone apps on it or if I really should spend the extra money and put up with AT&T and get the iPhone. What exactly is different between the two devices (other than the missing phone part in the iPod Touch). Has anyone done this successfully? Or am I crazy for even thinking it? EDIT I've corrected the references to iPod

iOS App testing: No Code signature found

空扰寡人 提交于 2019-12-18 01:52:08
问题 I do not have iPhone developer account. I want to test my app on my iPod Touch. iPod iOS version : 5.1 (9B176 build) Xcode Development SDK : 5.1 Simulators : iPhone 5.1 Retina/normal iPad 5.1 Retina/Normal To bypass code signing etc, I changed changed the project settings like below. Code signing identity Don't code sign Debug Don't code sign Any iOS SDK Don't code sign Release Don't code sign Any iOS SDK Don't code sign I connected my iPod-Touch to my MacBook Pro, selected iPod as my target

Getting the musical data of an iPod-track [closed]

耗尽温柔 提交于 2019-12-17 23:13:49
问题 Closed . This question needs to be more focused. It is not currently accepting answers. Want to improve this question? Update the question so it focuses on one problem only by editing this post. Closed 12 months ago . How can I get the content (raw/sample data) of an iPod-track? I've seen apps like "Ringtone Designer" and iMovie which can do it, but I have no idea which api they use or what they do. I could imagine that iMovie uses private apis, but "Ringtone Designer" is a third-party app,

What can be used with [UIDevice currentDevice]?

笑着哭i 提交于 2019-12-17 21:22:26
问题 What can be with [UIDevice currentDevice] , such as uniqueIdentifier? Thanks! 回答1: All the properties and methods associated with a UIDevice Object are described in the UIDevice Class Reference To access the Unique Identifer, you can do something like: NSString *identifier = [[UIDevice currentDevice] uniqueIdentifier]; 回答2: Because this is slightly out of date now I am just giving an up to date answer. Because Apple has seen fit to stop developers using the [[UIDevice currentDevice]

Newbie wants to create a PDF reader for ipod touch - what's the best approach?

时光毁灭记忆、已成空白 提交于 2019-12-17 18:58:56
问题 I want to make a small app that displays a PDF, presenting zoom-able single pages with a previous-next page function. 回答1: The Core Graphics API is pretty much the same in Cocoa and Cocoa touch. Read up on CGPDFDocument, it should provide you with everything you will need to render PDF pages. You won't need to read the PDF spec or use a library to parse PDF files directly. You will probably to learn more about Core Graphics / Quartz 2D / etc. to understand how to use those functions inside of

Error using Pod Install command on Podfile in Terminal

不想你离开。 提交于 2019-12-17 18:25:38
问题 I have installed Cocoapods, and created a Podfile using Atom containing the following lines: pod ‘Parse’, ‘~> 1.7.1′ pod ‘ParseUI’, ‘~> 1.1.3′ Upon placing this file into my Xcode Project Root Directory, and running 'pod install' in Terminal. The following is shown: [!] Your Podfile has had smart quotes sanitised. To avoid issues in the future, you should not use TextEdit for editing it. If you are not using TextEdit, you should turn off smart quotes in your editor of choice. /Library/Ruby

What's needed to use the Apple Accessory Protocol?

喜你入骨 提交于 2019-12-17 15:35:45
问题 I'm in the process of planning out a personal project that will be a media player and one of the things I would like to do is be able to dock my iPod touch (or any iPod or iPhone) and control it and play music off it like the speaker docs do that you can buy. I found some information while searching around online for this but my question is can I make up a cable and use the serial protocol from any device or does Apple have this locked down so only certified/approved devices can communicate

Drawing waveform with AVAssetReader

我的梦境 提交于 2019-12-17 04:10:49
问题 I reading song from iPod library using assetUrl (in code it named audioUrl) I can play it many ways, I can cut it, I can make some precessing with this but... I really don't understand what I gonna do with this CMSampleBufferRef to get data for drawing waveform! I need info about peak values, how I can get it this (maybe another) way? AVAssetTrack * songTrack = [audioUrl.tracks objectAtIndex:0]; AVAssetReaderTrackOutput * output = [[AVAssetReaderTrackOutput alloc] initWithTrack:songTrack

Drawing waveform with AVAssetReader

試著忘記壹切 提交于 2019-12-17 04:10:38
问题 I reading song from iPod library using assetUrl (in code it named audioUrl) I can play it many ways, I can cut it, I can make some precessing with this but... I really don't understand what I gonna do with this CMSampleBufferRef to get data for drawing waveform! I need info about peak values, how I can get it this (maybe another) way? AVAssetTrack * songTrack = [audioUrl.tracks objectAtIndex:0]; AVAssetReaderTrackOutput * output = [[AVAssetReaderTrackOutput alloc] initWithTrack:songTrack