Hi,
I'm not entirely sure why this crash is happening and I'd like to get advice on the best way to deal with it.
My app has 3 buttons. Each button requests a different XML file from a server which is used to populate a table view.
If I rapidly press the buttons in sequence , button 1 button 2 button3 button 1 button 2 button3 butto...
http://developer.apple.com/iphone/library/samplecode/TableSearch/index.html
I am a just 2 days old in iphone programming.
I downloaded the sample project from this url. When i touch the search and type my keyword i see 4 buttons say all,portable,device and desktop. Please tell me how to remove all those 4 buttons. thanks in advance.
...
Hi ,
I am trying to download the image from the url http://a3.twimg.com/profile_images/414797877/05052008321_bigger.jpg
I am using the following code, but image is not saved. I want to know what i m doing wrong.
NSURLRequest *request = [NSURLRequest requestWithURL:[NSURL URLWithString:@"http://a3.twimg.com/profile_images/414797877/050...
I have added custom animation to UITableViewCells. Each cell has its own animation. When I pop the view, the animations continue and I get a bad exec error because the animation is trying to access the deallocated cells.
How do I stop the animations before the view is deallocated?
- (void)tableView:(UITableView *)tableView accessoryBu...
Hello,
I'm still rather new to iPhone development and I tried something I didn't it was possible. I have a UIView for my TableView Section Header with a switch on it, and I also have a UITableCellView with another Switch on it. It all looks fine, but now I want to propagate the UISwitch state from the section header to all the UISwitches...
hi,
i am using apple's sample URLCache,but when i mention url, it loads data perfectly
but i want to calculate time of downloading(till completion),is there anyh built in method?
...
Hey all,
I am implementing APN's and want to release without switching it on yet..
So the app will happily receive them. but we will choose not to send them until later.
My question is, as when we want to send notifications is in our control, do apple care about this when reviewing the app.
I thinking not, maybe they send a test not...
Compare the following:
using NSUserDefaults saving it with synchronize
using NSDictionary saving it with writeToFile in the app Documents folder
What are the differences? Personally, I prefer to mantain different NSDictionary organized by topic rather than use a single NSUserDefaults.
Am I thinking something wrong? Thanks
...
Hi Guys,
This is PresentModelViewController, when click a button i will get this "DoctorListViewController" controller from down. object allocation are not releasing in this controller specially in cellForRowAtIndexPath delegate method.
UITableViewCell and two labels allocated in this is not releasing. In the previous view The allocat...
Hello,
i did save png and pdf file in Sqlite successfully. but when i retrive png and pdf data from sqlite and trying to display in Webview its create a problem.
for exp
NSData *data = [[NSData alloc] initWithBytes:sqlite3_column_blob(selectstmt, 1) length:sqlite3_column_bytes(selectstmt, 3)];
[webview loadDat...
I am trying to implement a control to edit text that will display the text in multiple colors. None of the solutions I have attempted yet have been good enough.
UITextView cannot accomplish this. All of the text must be the same color.
Using CoreGraphics to draw the text does not allow the text to be selected.
Using a UIWebView, DIV ...
Hi Folks,
Got this code for a viewscroller from the apple developers site.
@synthesize scrollView1, scrollView2;
const CGFloat kScrollObjHeight = 467.0;
const CGFloat kScrollObjWidth = 320.0;
const NSUInteger kNumImages = 6;
- (void)layoutScrollImages
{
UIImageView *view = nil;
NSArray *subviews = [scrollView1 subvi...
I upload my app to app store, I already build my apps using device - 3.1 , which should be the a release version of app store. How can I avoid this warning? thz....
...
Hello!
I have a small multiview app. It consists of a UITabBarController with a nav controller in each tab. What I want is to show a UIImageView when a user shakes the device. After I've implemented the loading of the UIImageView, I faced a problem-the image was only 2/3 of the screen because of the tab and nav bars. I managed to hide t...
Hi,
I want to build an alarm application for iphone. I want to ignore iphone device state and volume buttons state. I want to play sound anyhow in full volume and also want that user cant modify volume using iphone hardware buttons while sound is played. Does anybody know how to implement it? Please post the code here.......
Thankx in A...
Hi ,
i'm developing an application which uses audio streaming. For streaming audio from internet i'm using the AudioStreamer class. The audio streamer has
four state isPlaying, isPaused ,isWaiting, and isIdle . My problem is that when the audio streamer is in the state "isWaiting" and at that time if i get a phone call Audio queue ...
Hello!
I have about twenty UITextViews and corresponding .txt files. What I want is to make each UITextView take the contents of the corresponding file and display it.
Moreover, the text is formatted and it contains some formulas (copy/pasted from Grapher). I've heard about displaying formatted text in UIWebView, but I haven't found a c...
I have issue with userlocation in mkmapview.
The thing is that i have navigation controller which pushes mapview , as soon as it pushes it userlocation is queried. But if user pop mapview view before userlocation animation is finished , it throws exception because animation is trying to access deallocated mapview instance.
So my quest...
Hi,
I am using the framework of route-me for working with locations.
In this code the path between two markers(points) will be drawn as a line.
My Question: "What code should I add if I want to add an arrow in the middle(or top) of the line, so that it points the direction"
Thanks
- (void)drawInContext:(CGContextRef)theContext
{
...
Hi!
I'm trying to play with a WebView.
I made an outlet:
IBOutlet UIWebView *browser;
Defined it as a property:
@property (nonatomic, retain) IBOutlet UIWebView *browser;
Synthethized it:
@synthesize browser;
Finally, I connected it in Interface Builder, really it is.
Then I try to do something with it i.e.:
[browser loadReq...