How to call main thread ??? i can parse but i cant display data
- (void)viewDidLoad {
//self.navigationItem.rightBarButtonItem = self.editButtonItem;
self.parentViewController.view.backgroundColor = [UIColor colorWithPatternImage:[UIImage imageNamed:@"10.png"]];
[super viewDidLoad];
[NSThread detachNewThreadSelector:@sele...
I have a UITabBarController which has been created programatically, which has 6 tabs. As such the MoreNavigationController is automatically created to take care of having more than 5 tabs. Everything looks fine when the MoreNavigationController is displayed, but when I select one of these rows to push the view controller on to the stack,...
I have two custom objects, "Phrase Book" and "Phrase", the Phrase Book has an array of phrases, and each phrase has a Title, Description (and a whole lot of other properties / methods). In otherwords:
PhraseBook.Phrases (NSArray) =>
Phrase (Subclass of NSObject) {
Phrase.Title = "Phrase Title",
Phrase.Description = ...
Typically when creating an action from something like a button you have this
[button addTarget:self action:@selector(method:)...
I can guess if I want to send the action to another class but what if I want to send it to the parent? I thought super might work but that gives a warning.
EDIT:And super crashes the App
Cheers for any hel...
How to use custom font?(font that doesn't exist in iphone)
...
How to customize UISlider?(change style,background,...)
...
Hi,
I'm having an immense amount of trouble figuring out how to populate a Grouped UITableView with custom UITableViewCells. Could anyone point me towards a tutorial on how one might do this? Or does anyone have an example of what a cellForRowAtIndexPath method would look like when creating a Grouped UITableView with custom UITableViewC...
Hi,
I don't know how to get rid of this warning. MyApp behaves strange sometimes and I wonder if this is the cause.
(BTW: This app is kind of old, and I am trying to update it.)
Class UITableViewCellContentView is
implemented in both
/Users/nacho4d/Library/Application
Support/iPhone
Simulator/4.1/Applications/7B19E973-1AE1-...
Hi,
I am displaying a pdf or a pub file in web-view.I want to implement custom feature of selecting the text and be able to copy and paste it.I want to select the text by dragging the fingers over it.I want to implement the same way implemented in opera app .For bringing the cursor at that point is there any default method.I detecting t...
I have an iOS app send an NSURLRequest/NSURLConnections to PHP Webserver. How can i detect iDevices's Serial Number which sent NSURLRequest/NSURLConnections to my PHP Webserver? Anybody can help me? :)
...
hi
i am creating an universal application(run on ipad and iphone).I want to know if i am not create nib file for iphone then is this possible that my application is rejected?
...
Hi All,
In my application i am playing audio using AvAudioplayer, after playing the audio i have to record the audio from AvAudioplayer and any other external noices along with the audio.
How can i do that.
Thank You
...
hi , iam using mediaplayercontroller in iphone and in this i am able to run video from my app resorce folder but when i want to play youtube video on it then i Found Server is not Configured Error i am able to run it through two method 1)by openurl 2)mapview but when i passes url to it then it not play video i have download the sample co...
Hello i am having problem in copying data from one NSDictionary to another i used the
[dicForFoodproduct_fromWeb initWithDictionary:dictforfoodproduct];
Here it terminates and says "unrecognized selecter sent to the instance..." I am getting 5 key values in dictForFoodProduct but am unable to copy that key values into dicForFoodProduc...
Hi All,
I want to compare all the strings entered in a textview of iphone. Once the user finishes with typing in textview I want to compare strings entered by the user.
How do I do it?
Please help
...
i need to display a timer in the background for the webrequest loading time in the minutes:seconds format.When the webrequest is loaded successfully the timer has to stop.My code is here:
@interface TimerWithWebrequestViewController : UIViewController {
IBOutlet UIWebView *webView;
IBOutlet UILabel *lbl;
int mainInt;
NST...
i am uploading a application on appstore,when i upload the build in Applicationloader, i face an error given as below. please give me the detail to solve this problem.
ERROR --
"Application failed codesign verification. The signature was invalid, or it was not signed with an Apple submission certificate."
...
In iOS3 to get a full screen preview a scale of 1.12412 was enough.
CGFloat cameraTransformX = 1.12412;
CGFloat cameraTransformY = 1.12412;
picker.cameraViewTransform = CGAffineTransformScale(picker.cameraViewTransform, cameraTransformX, cameraTransformY);
}
Scaling x and y to avoid distortion.
In iOS4 using this scaling leaves a b...
Hi,
I want to create a page by page PDF reader.
I know how UIWebView can be used to show the PDF but It will load the entire PDF and want to show one page at a time.
The PDF is stored locally.
Next and previous PDF Pages should be loaded depending on the horizontal swipe.
How to show a single page along with horizontal Swipe and Zoo...
Hey,
I have been following this tutorial on embedding SQLITE in my iPhone App. The thing is, when adding a new object into the SQL DB everything is fine, but, as soon as i change anything (e.g.) the name of the entry, and then restart my app, the new name is not saved.
Since I couldn't find a similar issue nor have I been working with ...