iphone

Clickable Navbar title

How can I make the title of a navbar clickable. Much like in the facebook application. Were when you click it it dismisses the view controller. ...

A question related to NSUserdefault class

In ApplicationWillTerminate method NSString *state; this statement declares in AppDelegate method NSString *string1 ;this statement declares in AppDelegate method NSUserDefaults *def = [NSUserDefaults standardUserDefaults]; [def setObject:state forkey:@"integer"]; In ApplicationDidFinishLaunching method NSUserDefaults *def = [NSUserD...

iPhone how to read the data in UITableView

Hi, I am working on a iPone application it allows users to edit the data shown in the table view. In this task I use custom UITableViewCell which consist of UILable and UITextField. After editing finish how can I read the values in UITextField of all rows ? ...

Strange Problem with Skybox texture size - iPad, OGL Es 2.0

Hi Everyone, I'm new to the iPad dev. platform and currently making a terrain roamer demo with OpenGL Es 2.0. While implementing the skydome, I ran into a really strange problem that I could not solve. Skydome Implementation: * I have a low res sphere that uses a cube map indexed by the sphere vertex normals. * I use 1024x1024 textur...

as there anyway to enable user to zoom text in UIWebView in iphone applicaiton.

hi all. I am display text in UIWebview as there any way to enable user to zoom the text when they are reading the text.I have set font to 4 in html string. Thanks In Advance. ...

Draw part of the content of a CGLayer

Hello there, I have CGLayerRef which is updated periodically, I also have a CGRect indicates which part of the CGLayer got updated. Is there any way I can draw only the updated area of the CGLayer to the targeted CGContext. The CGLayer and the CGContext may of different size, and I don't want any scaling. Thanks! ...

Is Qt framework similar to Titanium?

I came to know that Qt framework can let us develop Applications for Android and iPhone. Have some ever developed applications and submitted the Apps in App store and Android market. Is it similar to Titanium in the way of using same source code base for different platforms. If that is the case, can we use the same code for Nokia Applic...

How do I join two different colored lines using Quartz?

So according to Apple's Quartz 2D Programming guide, there are a number of predefined line join styles when connected line segments in your path meet at a corner (Miter Join, Round Join, Bevel Join). I'm looking to do this with different colored lines, which I'm having trouble with. According to the discussion here: http://stackoverflo...

how to set the background color for single cell in the table view on iphone

Hi Developers, I'm having one Table view. In that i want to set the color for the First cell alone..Others should be in white...How can i do that I need your help.... Thanks in advance..... ...

How to get Domain Name of ipAddress and ipAddress from Domain Name in objective-c

I am able to get the current ip address of my device/machine that I am using - by using this question's answer. I have gone through this question. Java allows to get the IPAddress from a domain name. Is it possible in objective c ? How ? The second question is How to get the name of device/machine by using it's IPAddress. Say for examp...

change toolbar tintcolor of UIpopovercontroller

hi i want to know is this possible that we can change tint color of toolbar of UIpopovercontroller. i used this code but toolbar color is not changed Searchpopoverobj.MynavigationController.toolbar.tintColor=Searchpopoverobj.MynavigationController.navigationBar.tintColor; ...

When to use self with instance variables assignments in iphone

Hello, I have some confusion about when to use the self keyword during ivars assignment, should I use it when I'm trying to assign certain value to ivar or only when I'm trying to access the ivar? Besides, if I do retainCount on an ivar after its assignment without using self, it prints a count of 1 assuming it was already alloc & init...

Which verisign SSL Certificate should I go with?

I'm looking an option to buy a verisign ssl certificate for my company. previously we were using godaddy but godaddy ssl is not installed on blackberry. we can install manually or programmatically but its a extra over head for users. you can see here what problem we are facing with goddady So now we are moving to verisign ssl certifica...

how to solve the error while adding new classes

hi i am new to iphone. what i did is creating two different applications individually, now what i need is i have to combine these two applications as single application by using tabbar controller.But while adding the second application classes to first classes it shows the error Command /Developer/Platforms/iPhoneSimulator.platform/Dev...

[iPhone app] How to publish an app for testing

Hello ! I'm currently creating an iPhone app and we need some testing with about 20~30 users. Actually we put the app on our iPhone by connecting the iPhone to the computer and debugging the app. But now we need to have a more efficient way to install the app on iPhone but without submitting it to Apple Store and also without the need...

application not launching via sms

hey all, this question is related to this question. i was able to launch the app from another app but not from sms. the URL scheme is simpleApplication, so if i have the app installed in the device, then typing "<simpleApplication://>" in the sms body should convert it into a hyperlink to the app, right? but this is not happening. could ...

iPhone Dev: How to get string format attributes like NSLog

Hi all, I'm trying to wrap NSLog function just to add some info every time I log something, but I have a problem. The NSLog declaration is void NSLog(NSString *format, ...) __attribute__((format(__NSString__,1,2))) this allow to have multiple parameters in call as NSLog(@"first %@ second %@ third %d,string,string,number); My decl...

regarding the controlling user in iphone for music

[english translation] I have the application which allows the users to play songs. I want to allow the user to listen to a maximum of three songs before forcing the user to log in. The user should be able to listen to these three songs during the course of the day, but if they still haven't logged in they should no longer be able to l...

shouldAutoRotate method not working properly..?

Hello Friends,I have used multiple uiviewcontrollers in my split view based ipad application. There are web services. For some particular web services (e.g Logout) i need to remove split view and insert new view i.e Login Screen. but most of times shouldAutoRotate method of Login view doesnt gets called resulting in dumb app which do no...

Rename Default.png to support iOS4 in Run Script

I have a project with several build targets. Each build target has its own default.png and previously it worked with changing the name of each of these to default.png in my run script. However with the release of iOS4 I have to modify my script in order to support the Retina Display. Is it possible to get the target device version (iOS3....