I have a simple iPhone app which will display html content I have placed in the Documents directory, but once it is displayed, the links do not work.
The following code is called from the init method of my app delegate.
Can anyone suggest what I have missed please?
-(void) loadWebView:(NSString*) appDirectory {
CGRect rect = CGRe...
Hi,
I'm trying to make a view like compass in iphone 3gs or iphone4. Do you know somebody how can I start?, I can't find too much information about this issue...I only want to draw an arrow always following the north.
I'm using ios 4.0
Thanks in advance
...
Hi All,
I've changed the User Agent in Safari browser to iPhone but nothing happens. Am I misunderstanding the use of this? I'm running Safari in a window environment.
Thanks,
rod.
...
hi,
I am facing lots of problems in handling the touch event of the uiwebview for making my tabbar and navigation bar hides/unhide. I thought of putting a horizontally moving button or a small text on the uiwebview which will move along with the user scrolling.
If the user touches the button which moves along with the user scroll i am ...
I'm trying to remove the images that I've loaded into buttons using
button1.SetBackgroundImage(null, UIControlState.Normal);
and I get an error because I can't set it to null and thats the only way I could possibly think of clearing it. Does anyone have suggestions on how to do this?
I've tried doing a FromFile("", Controlstate.Norma...
I am attempting to execute a shell command from inside an iPhone app I am writing. The app is for jail broken devices. I need to catch the stdout of the command to display it in the app. I know that popen is executing the command because xcode's gdb is showing the output. Also the file pointer returned is not null however when I try to ...
Hello,
I want to put an update to my App and I'm encountering heavy issues. When sent to background and being brought back to foreground, the App works fine. However, after killing the process from multitasking (running in the background), the App tries to resume from the point where it left AND it freezes, which means, I cant start the...
I need to upload a video file to a web server iphone sdk. It is just a quicktime movie.
...
What is the best way to create a numeric pad like the one Apple uses in the telephone app?
...
I have a NSTimer running in a subview of a view. I want to remove the view and of course stop the timer. I seem to be able to remove the view (it physically disappears) but the timer keeps running, I can see the trace statements still.
This is the code to remove the view...
for (UIView *subview in [self.myViews subviews]) {
NSLog(@...
I have a NSDictionary containing attributes I got from deserializing a JSON structure. I would like to initialize an object with these attributes, but replacing all the NSNull values with an empty string (all the object properties are strings). The object is being managed with Core Data.
I'm new to the language, so I'm not sure what's t...
Hi,
I have two entities, A and B.
A has to-Many relation with B.
One B has always One A, but an A can be related to many B.
The SQL would be this, without joins for a better simplification:
SELECT a.id, a.name FROM a WHERE a.id IN (SELECT distinct(b.id_a) FROM b)
As I import those rows from an .xml file the first time, I can easly...
Hi does anybody know how I can programatically scroll a UIWebView in Objective-C (iPhone SDK)?
The only solution I can think of is to put it inside a UIScrollView and programatically scroll that, however this presents the problem that the web view is often the wrong size and therefore the bottom of the page is cut off when scrolling. I ...
I'm getting some intermittent bottlenecks on my 2D OpenGL ES iPhone game. When I profiled it in Shark, nothing remarkable came up. In the game, the background takes up the whole screen and I have about 7-8 smaller sprites continuously moving across the screen. For the most part it runs smoothly, but every now and then I'll get a small f...
We have an app on the store that if searched for by name or company it appears and we can download it, in fact it is getting downloaded, but it does not list in its category?
I have checked the iTunes Connect MetaData and it is in the category Education and is free, but if we list all free education apps it does not list. We also looke...
Hello
I am trying to retrieve email from the contacts .I am able to retrieve it successfully ,but if there are no email set for a person and if i try to retrieve their contact then the app crashes. I want to check whether the mail is there or not for particular contact and display an alert if there is no mail set for the contact.How can...
In my iphone apps, my problem is that I have a textfield at the bottom of the screen, so when the keyboard appear, he hides the textfied, there is a way to show the keyboard on the top of the screen?
thanks, Alex
...
I am having a problem very similar to this question here: Can I use NSURLCredentialStorage for HTTP Basic Authentication?
The author of that question accepted an answer but later posted that the solution code was returning NSURLErrorUserCancelledAuthentication errors. I am using DIGEST authentication, but otherwise my code is doing the ...
I'm getting so very strange behavior in my Objective C library (for iPhone). What I'm trying to do is take packets coming in (off of the accessory port), append them into a NSMutableData instance variable, and then check that to see if I have any complete packets. If I do, the [containsPacket] method will return the length of the packet,...
Hi,
I am using Core Data to develop an application, and I have used a NSPredicate to 'query' an entity which returns an NSArray of results, as is standard.
The NSArray contains objects of 'EntityA' which itself contains attributes 'AttributeA' and 'AttributeB'.
My question is, how can I extract information from this array?
Furthermor...