ios

iOS substring question...

How can I select a string from the beginning until a specified character? For example, in the following a news headline... someString = @"Los Angeles, California - Apple announces something, stock prices change." How do I select just Los Angeles, California - into a separate string? (I want to base my selection on everything before th...

How can I enable vertical split views in the Xcode IDE?

Hello. I'm diving into iOS development and I'm using Xcode on a multi-monitor setup. Obviously I want to take advantage of the multiple monitors to view and edit multiple panes of source code, but I'm having a hard time figuring out how to enable vertical split views. In other IDEs, it's just an option you click in the "Window" menu. ...

Presenting a UIDatePicker modally

Hey I have a view that has a button that when pressed should modally present a UIDatePicker. I have the picker showing up properly, but because it is on its own UIView, it is full height, and looks funny. All I want is to get a really quick date input from the user, more like a UIActionSheet than a UIView. How can I make the UIPicker sl...

Whats the dSYM and how to use it? (iOS SDK)

Sometimes compiler produces .dSYM files. I guess this is debugging related file, but I don't know what it is, and how to use it. What's that? and How to use it? ...

Maximum size of temporary files.

Hello everyone. I use many temporary files in my program. It's for programmable swap(because iOS doesn't have it). It's normal if size of all this files is around ~250 Mb? Thanks in advance. ...

Rotated UIPicker displaying labels low-res?

I have been working on a horizontal UIPicker, and I've finally gotten the picker and the labels on the picker to both display rotated. But, the issue I'm noticing now is that the labels display in low res with very visible pixelation. Playing with the font values seems to have no effect on the pixelation. I've included my code: //in vie...

want to use popViewControllerAnimated instead of popToRootViewControllerAnimated.

hi all, I want to use popViewControllerAnimated instead of popToRootViewControllerAnimated to move to the root view.I do not want to move to root view directly.so is there any method to move to root view by popping all previous views? ...

How to port an app from old iPhone to iPhone 4? (Retina Display)

Hello world! Sorry if im asking something stupid but please dont shoot me down! I have done a little playing in xcode but nothing more than a button press counter kindof thing.. I was curious.. when developing with the retina display in mind you obviously produce higher resolutions png's and what not for the new display.. How would y...

Present a default view instead of tableview if datasource is empty

Hi everyone, The iOS app I'm currently working on is tabbar-based, and one of the tab is a UITableViewController. The thing is, when I open this tab with an empty datasource (for whatever reason), I'd like to bring another view, with some kind of message/image, instead of the blank view I get with the tableviewcontroller. I tried some...

iPad Video with Transparency

Hi, is it possible to have a QuickTime video with alpha layer (transparency) play on top of a static dynamic background UIView (i.e. a view that changes occasionally) on the iPad? Thanks! ...

Managing multiple viewcontrollers with views displayed in a sequential way - should I use NavigationController?

Hello, I have a number of viewControllers (iPad) that manage different views presenting various screens to the user (start screen -> settings screen -> main screen -> details screen -> summary screen). Those screens are being traversed sequentially (as arrows above indicate) based on user interaction.One exception to that rule is that I ...

Does iOS support file operations via SMB ?

Does iOS (or iPhone OS) support file operations via SMB network shares? If so, are there any documents about how to do this? ...

Question regarding passing data to the delegate in iOS

So I have a tableview as a root screen and an add button that presents a new screen that has a datepicker. When I present the new view, I set the root screen to delegate. Now, I need to pass the data from the uidatepicker screen back to its delegate, but I can't remember how that was supposed to work... I know that I should be able to...

Which ppi is correct in iOS4 images (normal and high res)

Hi to everybody, I want to add high res images in my iOS4 app. I already read this http://developer.apple.com/iphone/library/documentation/iphone/conceptual/iphoneosprogrammingguide/SupportingResolutionIndependence/SupportingResolutionIndependence.html#//apple_ref/doc/uid/TP40007072-CH10-SW2 and a lot of other pages but I did not find t...

Is UITableViewCell cache cleared on memory warning?

I'm wondering if the cache of UITableview cells is cleared when a UITableViewController (or subclass) receives a memory warning. I have a subview in some cells and I'd like to know if it's safe to release them on a memory warning. ...

Settings slider images on iPad?

I've got a settings bundle in my app, with PSSliderSpecifiers in it. What sizes should those images on either side of the slider be for iPad? (I know that for the iPhone, they should be 21 pixels squared, but they are not showing up on the iPad.) Edit: in developer preview of 4.2, my images are back! No mod needed. Weird! ...

How can I recreate this iOS font that has a shadow?

In the iOS clock app, the font in the table view cells has a slight shadow to it which gives the effect that the text is engraved.... How can I recreate that font with the engraved look? Thanks in advance for your help! ...

iOS - animate movement of a label or image

How can I animate the movement of a label or image? I would just like to make a slow transition from one location on the screen to another (nothing fancy). ...

Twitter-esque UITabBarController?

I'd like to make an app that uses a UITabBarController that is similar to the one in the Twitter app for iPhone and iPod touch. (Blue light for unread and sliding arrow for switching between content views). Is there an easy way to do this? Any open source code? ...

How is google maps (web app) scaling so smooth on the iphone/ipad with the gesture/pinch?

If you have used the Google Maps web app on your iphone or ipad you know what i am talking about. You can't see my fingers in this screen grab, but this is mid-pinch (if you will) zooming out. The detailed area was the initial map viewing area and the blurry bit outside is the extra map that has come into view mid-pinch. The pinch-to-...