iphone

fitting a text(height adjustment) in a table cell's UILabel

Please see screenshot below. See how some of the words/text overlaps the lines? I have soared the net for answers and this was my last attempt: CGSize labelSize = [nameLabel.text sizeWithFont: nameLabel.font constrainedToSize: CGSizeMake( actualWidth, MAXFLOAT ) ...

How to Play video in nsthread ..!

Hello, i need to play videos in nsthread. It's not playing, movie player initialized well, but not playing video. Please tell me how to play videos in nsthread. Also when play audio in nsthread using mpmusicplayer, it stops when i start another process. ...

UISearchBar text color

Browsed the documentation and I couldn't find anything to change the color of UISearchBar. Does anybody know how to change it? There isn't any textColor property :/ Thx ...

Content of custom table view cells not drawing correctly

I have several parts in my app where I use custom table view cells. Their content is created with subviews. The problem is that on some of these cells, the content does not appear at all or does not appear correctly until after the cell was selected for the first time. One example is a custom cell which has a custom subview which can...

iPhone Device 3.1 SDK Breaks vertical alignment of UITableViewCellStyleValue1 textLabel

Can anyone provide an explanation for the following phenomenon? As of the iPhone Device 3.1 SDK, I've found that if a UITableViewCell is of style UITableViewCellStyleValue1 and its detailTextLabel.text is unassigned, then the textLabel does not display in the center of the cell as would be expected. One notable caveat is that this only...

Disapperiang IPhone Numeric Keyboard

How I can disappear numeric keyboard in iPhone because there is no return key in it, which implies it is not going to respond to - (BOOL)textFieldShouldReturn:(UITextField *)textField ...

Changing border color in iPhone UITableView cells (non-grouped)

I've read (and used) the code here which illustrates how to change the background color and border color of a UITableViewCell in grouped mode on the iPhone. I'm writing an app now which has a non-grouped UITableView and I need to change the border color of the cells. I know that I can modify the code and create a new background view an...

How can I implement a tag cloud on iPhone?

like this one here: http://i27.tinypic.com/1zw0tqc.jpg Is there an existing class that I can use? ...

Playing Music Using Avfoundation Framework ....!

hello , when i play music using avfoundation framework , and then play movie using Movie Player controller , it doesn't stop the song.. but if play music using mpmusicplayercontroller then play movie ,it stops the music.... i need to play both at a time ..please help ..! ...

Return item count from a plist

Not sure why my .plist looks like this when viwed as source code, and not like an XML file. { authorLastName = Doe; authorFirstName = Jane; imageFilePath = "NoImage.png"; title = "Account Test 1"; year = 2009; }, { authorLastName = Doe; authorFirstName = John; imageFilePath = "NoImage.png"; title =...

Issue with xCode generated core data stack code logic and core data sample code

In the generated code for core data stack, a save on managedObjectContext is called in applicationWillTerminate method. This is to take care of all unsaved objects in the context before exit. This has an unwanted side effect of saving any temporary objects as well. (This problem is visible in apple sample codes as well. If you click on ...

How can we do Background File Upload in iphone ?

Hi like qik.com , ustream.com , I hope to know how to upload file in background via iPhone SDK 3.0 . Pls let me know . Thanks ! ...

how to make a Kaleidoscope in iPhone

Dear all ! i am trying to make a Kaleidoscope app in iPhone. Some one can tell me how can make it, what kind of techs i must use, please ! thanks a lot for your helps, i am so worried now ! Thanks ...

mac and iphone development books 2009

Hi, What the best books available right now on Mac and iPhone development ? Thanks Michael ...

Location Manager Error : (KCLErrorDomain error 0)

Location Manager Error : Operation could not be completed(KCLErrorDomain error 0) why this error occurs? ...

Accessing of UILabel object crash

Hi, I created a UIView and a UILabel outlet for the XIB. In the first load is fine then I execute the removeFromSuperview to remove that UIView and call again the addsub to show that UIView again. But when I tried to access again the UILabel like the setText method then the app will crash. Do you think its about removeFromSuperview? Th...

problem in UITable cell selection

hai , i have coded in UITableview in the method as follows.but when i touch the cell or row ,it wont go to the next page(navigation did not work).have i to declare navigation conroller in other file.but i have coded app delegate in applicationdidfinishmethod for tab bar through dynamic.how can i link navigation? the code: UITableview;...

iPhone SDK: Non-transparent subviews in transparent view

I have a subview that has been added to my UIView. The idea is that the subview is a hovering panel with uibuttons. The subview is given an alpha of 0.2, as the user needs to be able to see what is behind it. The problem is that when I add uibuttons to the subview, they inherit the alpha from the subview (I want the buttons to be no...

Blank String Default Value in core data designer iphone

Hi, Is there any way to set empty string as default value in core data Here the problem is, it is taking blank value in sqlite table as null and I don't want it. Thank you, Raghu, ...

Adding SDK-specific frameworks to Xcode

Hi, Xcode 3.2 kind of broke the build process of my iPhone app. I need to add a new framework to my project (MediaPlayer.framework). So I go into my Target settings and try to add it to the "Linked Libraris" by hitting the [+] button. In the list the MediaPlayer.framework is missing, as well as other frameworks, such as UIKit, CoreGraph...