iphone

UI for rating an app during deletion

Hi, Is that possible pop up the UI which comes during the deletion process before deleting the app ? (A UI which has stars, no thanks, rate my app button). If no, can you tell me whether it is possible to create a screen and send the rating captured to iTunes connect ? ...

Passing variable to another view (using Utility template)

Okay, so I'm obviously a newbie, but I need some help passing a variable to another view. I'm using the Utility Template in Xcode. I think I have everything linking properly (including the proper header files and whatnot). Just don't know the proper syntax. Here's what I'm trying: NSDate *time =[flipsideViewController.datePicker date];...

How do I get the current location from the location manager?

hi , i want my app to get the exact location (longitude and latitude) of where he is as every second, it is possible ? i have this code so far, every 3 second the app get the current location but it doesnt update if i move... - (void)locationManager:(CLLocationManager *)manager didUpdateToLocation:(CLLocation *)newLocation fromLocation:...

How do I display data in a UITableView cell from an NSDictionary?

Hi i received 2000 of datas from udp and display the values in tableview .What is the easiest method to do this ? Now i am using Two nsthreads and one thread for receive data via udp and stores it in NSMutableDictionary.Another thread update the tableview using these Dictionary values. But it crashes my app. Here is some code i used ...

Sharing Non-Persistent Objects Between Contexts in Core Data?

I was wondering if there is a way to share an NSManagedObject between two or more NSManagedObjectContext objects running in the same thread. I have the following problem: I have one main context shared through all my code in the application and several different contexts that are created for each remote fetch request that I issue. (I c...

glow a image by code for iphone

how to glow a image by code when user click as my images are dynamic plz help with some simple effect Thanks ...

MapKit: How can I pan and zoom to fit all my annotations?

So I've got a bunch of annotations spread out on my map... everything is just dandy. Now I need to be able to set the map's position and zoom so they all fit perfectly. How can I do this? ...

How to share a piece of Core Data model across iPhone apps?

What's a good pattern, if any, to share a piece of Core Data model across iPhone apps the same way I would share code, images and other resources? I am thinking of developing my model in one app, and then just including it in the other app as a resource. But can't wrap my head around how to do that. Is it sufficient to just include the ...

how to check installed application in iphone device in ios SDK 4.0

Hi... I am developing an application in which i need to find the apps which are already installed in iphone device such as Skype, facebook. I need to check it using objective -c ( snow leopard 10.6.2). Thanks in advance .. ...

how to display images in gridview on iphone

hi i am new to iPhone development, what i am doing in my application is i have to disply 20 images in a grid view after 4 tips on images that will be replaced with new images how can i done this please help me ...

How can i show locaion information without using MapAnnotation pin?

Hi!I am new in this Topic.I know map annotation and by clicking on that annotation pin i get the information about that particular place but i want to display all that information without that annotation pin so how it is possible Actually i have searchbar on the top and i will give city name and i get the Detail information on that Squa...

switching between views in iphone programming

i want to go to another view from one view on a button click please help me........ thank you ...

iphone: get User Defined variable in Target's setting by code?

My project have multi-targets. Each target has its own Class file for setting stuff. I want to store that Class name in a target setting (Info.plist or Target's Building setting). So that I can define which class I need to use in each target based on this setting. According to this question, I put "a target-specific User Defined variabl...

Facebook Query Language - how do I get note tags?

I have poured over the FQL APIs, done google searches - but can't figure out how to get the list of people tagged in a note. It isn't on the 'note' table. And there is no note_tags table. Anyone else worked this out? ...

problem with logging in twitter through my iphone application

Hi all, i am creating a music application in which i am integrating twitter in my application When a user clicks on particular song and then he click on the twitter tab the login page of twitter should be displayed. after entering the username and password he should be directed to the page where he can enter his comment and then post i...

How to resize cover images in OpenFlow

I'm trying to embed OpenFlow in my iPhone app, but I can't figure out how I can resize it in a landscape view with a navigation bar and a toolbar. The covers are too big and the effect is really ugly. Can anyone help me? ...

Can't add a corner radius and a shadow

Hiya, I'm trying to draw a shadow and a corner radius on an image. I can add them separately, but I've got no way to add both effects at the same time. I'm adding a shadow with: [layer setShadowOffset:CGSizeMake(0, 3)]; [layer setShadowOpacity:0.4]; [layer setShadowRadius:3.0f]; [layer setShouldRasterize:YES]; Here, layer is a CALaye...

NSStream hangs on close

I have an NSInputStream and an NSOutputStream in an iphone app that are connected to a server. I am able to read and write data to the sockets without issue. The problem is that I have a disconnect button, and when I try to call close on either of the streams it hangs the app. I'm guessing that I am trying to call close at the wrong time...

How do I calculate velocity with Core Location?

hi , i need to get the speed of my device (meters per seconds) and this is my code the speed is always 0 i don't understand. - (void)locationManager:(CLLocationManager *)manager didUpdateToLocation:(CLLocation *)newLocation fromLocation:(CLLocation *)oldLocation{ double gpsSpeed2 = newLocation.speed; labelm.text = [N...

MPMoviePlayerController with custom controls

I added some custom controls to a MPMoviePlayerController. Ths is explicitly written in the documentation that tis is possible: You can add subviews to the view in this property. You might do this in cases where you want to display custom playback controls or add other custom content that is relevant to your application. But this w...