ipod-touch

My app is running on the simulator but not on the device

a 夏天 提交于 2020-02-05 03:25:11
问题 I have a problem with that error : Undefined symbols for architecture i386: When I build and go, it run successfully on the simulator but not on the device, I try a simple new project, I try to run it on the device, it was ok, but this project didn't run because of that error, the full stack error is this : Ld "/Users/imac/Library/Developer/Xcode/DerivedData/TopStation-cjwcuxabgkltqvdslykmwkeqvsee/Build/Products/Debug-iphonesimulator/RM Unit Tests.app/RM Unit Tests" normal i386 cd /Users/imac

2 UIAlertView with 3 buttons?

你说的曾经没有我的故事 提交于 2020-01-16 15:43:11
问题 I wanna know how can I make 2 UIAlertView, with 3 buttons, the UIAlertViews(2) needs be different, the options and the actions... how ??? 回答1: Try this: UIAlertView *alert = [[UIAlertView alloc] initWithTitle:@"Welcome" message:@"Message." delegate:self cancelButtonTitle:@"Ok" otherButtonTitles:@"Button 2", @"Button 3", nil]; alert.tag = 1; [alert show]; then do the same for the next alertView, just change the tag to 2 Then just run this method - (void)alertView:(UIAlertView *)alertView

2 UIAlertView with 3 buttons?

与世无争的帅哥 提交于 2020-01-16 15:43:05
问题 I wanna know how can I make 2 UIAlertView, with 3 buttons, the UIAlertViews(2) needs be different, the options and the actions... how ??? 回答1: Try this: UIAlertView *alert = [[UIAlertView alloc] initWithTitle:@"Welcome" message:@"Message." delegate:self cancelButtonTitle:@"Ok" otherButtonTitles:@"Button 2", @"Button 3", nil]; alert.tag = 1; [alert show]; then do the same for the next alertView, just change the tag to 2 Then just run this method - (void)alertView:(UIAlertView *)alertView

iPad1 memory mystery with my texture-intensive game app

感情迁移 提交于 2020-01-07 04:28:40
问题 Sorry for the vague title, but not quite sure how to summarize this one. The facts are: I have a game that's been approved by Apple and is on the App Store. It is a universal app. It uses textures designed for 320x480 on small screens, and uses larger textures (roughly four times as large) on retina and iPad screens. While developing it, I would sometimes see low-memory warnings in the console log, but after reading about these it seemed like they were often somewhat spurious/unimportant, and

How to get a list of the playlists and songs in an iPhone/iPod Touch?

核能气质少年 提交于 2020-01-06 06:28:09
问题 Can I get a list of the playlists and songs in each playlist in an iPhone? This is for a legal app. so hidden APIs/jailbroken solutions don't apply. 回答1: You have to wait for 3.0, currently it is not possible. The 3.0 API is currently considered confidential by Apple, so that I probably should not say more, but You can read the API details on the website. 回答2: You can't do it with the 2.x public APIs, and the 3.x is under a NDA, so it can't be discussed here. 回答3: It should be noted that

What should I grab as a development platform, an iPod or an iPad?

不问归期 提交于 2020-01-05 05:33:26
问题 I've recently gotten into the world of contract programming, and two of my clients have indicated that they'd like to do something 'trendy', like ipod touch/iphone/ipad development. I have a mac laptop (first gen macbook pro) that I'll have to upgrade to snow leopard to do the development for any of them, from what I've read. So that's already a bit of a commitment, given all the stuff I have on that laptop I'll have to make sure is recoverable from backup. My budget is limited, but I think I

“security policy error” on iPhone and iPod Touch

女生的网名这么多〃 提交于 2020-01-03 16:42:10
问题 I'm getting an "Error from Debugger: Error launching remote program: security policy error" when I try to run my app on my ipod touch. The provisions look in order, and the app builds to my iphone 3gs just fine. The app used to build just fine to my ipod touch, so I'm flustered what could have changed and wondering if anyone has any thoughts on what might be causing this issue. The build logs are below. Mon Mar 15 14:25:54 unknown com.apple.debugserver-43[449] <Warning>: Connecting to com

Making images appear… How?

我的未来我决定 提交于 2019-12-31 04:27:11
问题 Could someone please tell me how to make an image appear when the user taps the screen and make it appear at the position of the tap. Thanks in advance, Tate 回答1: UIView is a subclass of UIResponder, which has the following methods that might help: -touchesBegan:withEvent: , -touchesEnded:withEvent: , -touchesCancelled:withEvent: and -touchesMoved:withEvent: . The first parameter of each of those is an NSSet of UITouch objects. UITouch has a -locationInView: instance method which should yield

What are the sizes used for the iOS application splash screen?

狂风中的少年 提交于 2019-12-27 11:49:13
问题 I am developing an application using the iOS SDK. I need to know what Default splash screen sizes I need. 回答1: 2018 Update - Please don't use this info ! I'm leaving the below post for reference purposes. Please read Apple's documentation Human Interface Guidelines - Launch Screens for details on launch screens and recommendations. Thanks Drekka July 2012 - As this reply is rather old, but stills seems popular. I've written a blog post based on Apple's doco and placed it on my blog. I hope

Issue when resizing UIWebView using animation

喜夏-厌秋 提交于 2019-12-25 11:34:11
问题 I've been struggling with this for a while and have not found a solution. I'm resizing a UIWebView using animations through beginAnimations: and commitAnimations . All goes well, except for when the resizing tries to make the UIWebView larger. Let me make this clearer. Suppose the current frame of my UIWebView is (0, 0, 320, 300) . Then, I try to resize it to (0, 0, 320, 340) by using: [UIView beginAnimations:nil context:NULL]; [UIView setAnimationDuration:1.0]; [self.webView setFrame: