Hi guys,
Here I am getting a problem when I am loading local Image in the webview using html code my image was not diplaying in my webview here is my code for Loading the local image in webview:
htmlString = [htmlString stringByAppendingString:@"<table width=85% cellpadding=3 cellspacing=0 border=0> "];
htmlString = [htmlString st...
Silly question - but is there a way to download the iPhone SDK without Xcode when Apple releases an update?
...
I have an view which has got a lot of background subviews, which will never change. To save memory, I want to draw these directly to the view's bitmap. There's some complex code involved already in positioning, rotating and scaling these subviews in their superview.
Is there -for example- a way to tell an layer of an view to render into...
I have a UIScrollView with only horizontal scrolling allowed, and I would like to know which direction (left, right) the user scrolls. What I did was to subclass the UIScrollView and override the touchesMoved method:
- (void)touchesMoved:(NSSet *)touches withEvent:(UIEvent *)event
{
[super touchesMoved:touches withEvent:event];
...
Hello everyone,
I wanted to create a very simple method that switches between views in a view based application. For some reason, when the views are switched, the first view is removed and instead of viewing the second view, I see a white screen.
This is my method:
FirstViewController *firstViewController = [[FirstViewController allo...
For example, I want to draw something directly to an UIView. I need an CGContextRef, but I don't want to make a new one since that would eat up too much memory. Can I obtain the CGContextRef from an UIView?
...
What's the difference between CALayer -drawInContext: and -renderInContext: ?
...
I have a table with two sections. A segmented control in first sections changes which rows are displayed in the second section. My problem is that the order of the rows and which row are displayed in the second section shifts improperly upon each subsequent press of a button in the segmented control.
I allow a user to add a product to ...
Hi All,
I am trying to do a sample project on the Apple the push notification. I created an AppID, done some terminal commands, and finally got a Provisional Certificate for do the same.
I got the certificate installed on my device and SDK. I got the application installed on my device. I can find my aplication push notification setting...
I am building an application for the ipod touch that needs to run for several time (like an alarm clock). I would like to prevent the ipod touch from going to sleep unless the use manually exit the application. Is this possible with the current SDK?
...
Hi,
I want to create a right to left UITableView.
right now I have the left to right table view.
I would like to know if there is an easy way to transfrom the left to right table into right to left using the latest iphone SDK?
I've tried the textAlignment on my custom table view cell but with no success.
Thanks
...
Is it possible to perform custom action when user touch autodetected phone link in UITextView. Please do not advice to use UIWebView instead.
And please don't just repeat text from apple classes reference
- certainly I've already read it.
Thanks.
...
I need the imageid of the images that are stored in photo album. How can i achieve it? I have heard that PLPhotoLibrary helps in fetching the id, but because it is a private framework, app store does not allow it. Please help.
...
Hello i am using NSOperationQueue to download images in the background. I have created a custom NSOperation to download the images. I put the images in table cells. The problem is if I do [operationQueue setMaxConcurrentOperationCount: 10] and i scroll down several cells the program crashes with EXC_BAD_ACCESS. Every time it crashes at t...
Situation:
I have an interactive Java/AJAX Object in my HTML page. It's a simple Application for displaying images with zooming.
Recently I can tap / touch the screen and the Application detects that and is zooming in - like that i wanted. But the other features like to move the crop of the image to another area of the image isn't suppo...
Is it possible to to hard code the IBActions and IBOutlets in XCode rather then drag them manually in Interface Builder?
...
Hello All
I would like to develop such iphone application that provides functionality to download viedo. i am doing some as below
1) Loading HTML content on web view
2) The loaded html content contains the video link (i.e http://test.com/test.mp4")
3) When i click on that it will play the video in native player.
4) but i would like to ...
Hello!
This is driving me nuts.
I have a TableView with custom cells. My cell contains a editble textview. Is it possible to change rowheight on cell and textview dynamicly (when I editing the textView) ?
best regards
...
Hi,
I'm developing a game for the iPhone and I've noticed a difference specific to the 3G iPhone. I have been testing the software all 3 versions of the iPhone - 2G, 3G and 3GS. The 2G and the 3GS work the same, but I find on the 3G that the swipes and touches are much slower to respond. At first I thought it might just be a CPU issu...
I have a view that contains 10 UITextFields created programatically. I want the following behavior:
When I click on a particular UITextField, the keyboard should hide all the text fields which are visually below the selected text field.
If I have a text field selected and change the device orientation, the text field and the keyboard ...