iphone

where can i find crash logs for ad-hoc iphone applications on windows 7

Hi, My ad-hoc beta testers reported a crash, that i cannot reproduce on my device. How can i retrieve crash logs from their device? They use itunes on windows 7. What is the path to crash logs of iphone applications on windows 7? TIA ...

Not getting clicks in iPad version of my iPhone application

Hi there, Using the latest SDK from Apple, I noticed that while running on the iPhone works fine, the iPad version of my application doesn't "accept clicks" on any view/widget that is outside the "bounds" of the standard iPhone screen. Any idea? Thanks, Reuven ...

Tips and Tricks to avoid iphone app crash

Is there any tips to avoid crashing of iPhone applications. Sometime it is very difficult to understand where the problem is. What are the possible reasons of iPhone app crashes ? ...

Core Data combined Query

Hey, i have question related to CoreData. My iphone project has 2 Entities, Organisation and Brand with a 1 to many "BrandsToOrg" relationship and inverse. So my project has a Mapview, where you can see all the Organisations and a little subview when you click on those Organisations.At the subview there is a "show Brands" Button, whic...

Draw image in triangle region iphone

Hi, I draw an triangle using these piece of code CGPoint center; center = CGPointMake(x1, x2); CGContextMoveToPoint(context, center.x, center.y); for(int i = 0; i < 3; i++) { switch (i) { case 0: CGContextAddLineToPoint(context, y1, y2); break; case 1: CGContextAddLineToPoint(con...

Iphone App submission: Status bar and screenshots

Hi all, I have read somewhere that the screenshots you send to Apple should NOT contain the status bar; however my app shows the status bar during runtime. After having a look around the App store I have noticed quite a few app screenshots contain the status bar. So my question is... Is including the status bar in application screensho...

How do I put a clear button inside my HTML text input box like the iPhone does?

I want to have a nice little icon that, when clicked will clear the text in the <INPUT> box. This is to save space rather than having a clear link outside of the input box. My CSS skills are weak... Here is a screenshot photo of how the iPhone looks. ...

Can resources be extracted from a compiled iPhone app? If yes, how can they be secured?

Can resources be extracted from a compiled iPhone app that is released to the iTunes store? I'm particularly interested in the security of XML files... if I have copyrighted data in an XML document in my resource directory, how likely is it for someone to extract that information and paste it around the internet? If it's as easy as usi...

Is it worth while to hide/obfuscate server connections in an iPhone app? If so how?

If I have an app that connects to Amazon's S3 service, is it worth my time to hide/obfuscate the connection strings and API keys? I'm guessing that most hackers won't care all that much, but it would be financially painful if someone found this information and was able to upload data to my account! For instance, if I store a username/p...

How to do edit-in-place in a UITableView?

Is there a standard way to set up a table to allow editing-in-place, kind of like this: http://www.gtp.com.au/gtpicommerce/images/iphone4.jpg I only need editable text at the moment, but I might need UISwitches or UISliders in the future. ...

How to get user's country information.

Basically I need to identify the user's country at application startup and enable or disable a location based feature in my app based on his/her country. I need to do this as quickly as possible in the application delegate prior to the RootViewController's loading. Is there anyway of doing this in the iPhone SDK?? ...

implementing UIActivityIndicatorView while NSData dataWithContentsOfURL is downloading

Hi people, I am downloading an mp3 using NSData dataWithContentsOfURL:url. This takes a while and while the file is downloading the application hangs. I want to handle well and ideal would like to show the download progress but can't find methods for this. It is in a UIViewController and I have made a first attempt by putting in a UIAc...

Dynamic name of NSMutableDictionary?

Hi everyone I load from a txt file many info, and I would like, if possible, to dynamically create NSmutable dictionary with the elements of the txt. For example, each is like that: id of element | date | text What I'm asking is the equivalent of the NSString stringWithFormat:. Can we do the same for an Mutable Dictionary? To be more...

Engine for use with PC and Iphone?

Are there any engines that allow me to develop for pc and iphone at the same time? My preferred language would be c#, but that probably won't happen, so I probably will learn c++ or java. I want a 2d engine, by the way. ...

How do you update a secondary view?

Perhaps there's a better way to set this up so I'm open to suggestions. But here's what I'm doing. I have a main UIView. On top of that I have a UIImageView and another UIView. When the UIImageView changes, I want to change the second UIView. So I have a class for it and the IB object's type is set to the class. In the .m of that class...

UITableView programatically create delegate object?

I have a question regarding setting up a custom delegate class for use with UITableView. What I have done is as follows: Setup a new class (in sperate *.h and *.m files for the class) Conformed that new class to the <UITableViewDelegate, UITableViewDataSource> protocols Added the required methods. Created a pointer to the new object us...

Process for linking static ObjC libraries in XCode

I'm trying to link to a static library and I keep getting linker errors. I've found a few sites that post examples but I have not been able to see what I am doing wrong. First I create a project that will link to my lib add> existing files find my .xcodeproj file select "Copy items into destination groups folder"... Select my host proj...

How to make the UIButton background transparent?

I tried use a transparent png as a background, but not success. How can I solve it ? thz. ...

What's the best/easiest way to compare two times in Objective-C?

I've got a string representation of a time, like "11:13 AM." This was produced using an NSDateFormatter and the stringFromDate: method. I'd like to compare this time to the current time, but when I use the dateFromString: method to turn the string back into a date, a year, month and day are added - which I don't want. I just need to kno...

Difference between Facebook query from iphone and from web

Hi, I am creating a iphone application for the existing web application. The fql which is happening at the web is giving me right results but the fql happening at the iphone is not giving all the results. select name, pic_square, pic_big, uid, sex, birthday, relationship_status , current_location, meeting_sex, interests, music, tv, mov...