Tagged Questions
iOS — previously called iPhone OS — is Apple's operating system for mobile devices. It is a derivative of Apple's mac-os-x desktop operating system, with which it shares many (but not all) common frameworks. Applications for iOS are written for the cocoa-touch framework (as opposed to ...
0
votes
1answer
4 views
specifying UIWebView Content size Or position
I'm using UIWebView to load .GIF images with the following code
UIWebView *webView = [[UIWebView alloc]initWithFrame:self.view.frame];
[self.view addSubview:webView];
[webView ...
1
vote
1answer
13 views
Using a UIPopoverController in Universal App
I have a button that when pressed shows presents a view controller, this is in an Universal app.
On iPhone the view controller is pushed onto the navigation stack. On iPad it is shown in a popover. ...
0
votes
1answer
19 views
Why is GCD code crashing in drawRect?
This is inside drawRect:
NSString *generated = [Entry generateString];
const char *cString = (const char*)[generated UTF8String];
dispatch_queue_t queue = dispatch_queue_create(cString, ...
0
votes
2answers
20 views
Pop to Root ViewController in Tab bar Application
I have tabBar Application in which i have added Tab-bar on my SignViewController i have 3 different tabs in my setting Tab i have logOut Button on than button click i want to pop tab bar and jump back ...
2
votes
0answers
33 views
NSData == nil is slow
I have a method which checks an NSData's value as follows:
if (data == nil) {
//Method
}
But despite all of the stuff inside the method, it turns out that over 80% of the time is spent on the ...
0
votes
1answer
21 views
Image is not positioned properly when on Landscape Orientation
Please find the below code , when i am rotating my simulator to landscape , the images is not positioned properly. But in the portrait it seems good.
and my image dimension is height 768 and width is ...
0
votes
0answers
5 views
AQGridView intermittent cell issues - sub views not maintaining state
I have an AQGridView where each cell has a label and a button that can be on or off. When the user presses the button, it is turned to it's on state and they can turn it off again.
The problem is ...
0
votes
2answers
17 views
NSDateFormatter is shifting the date of 2 hours, why?
I want to convert the following NSString to a NSDate : @"2013-04-01T22:00:00Z"
I am using the following code :
NSString *dateString = @"2013-04-01T22:00:00Z";
NSDateFormatter *dateFormatter = ...
1
vote
0answers
10 views
Peer to Peer connection between an iOS device and a Windows 7 PC
Is it possible to connect a iOS device with a Windows 7 PC? What is the best and easiest way do do this. Bluetooth or WIFI or any other possibility.
Requirement: No Internet access is available and ...
0
votes
0answers
10 views
MD5 not giving correct hash for online file in iOS
I really don't know how it is possible but I am checking two files for their MD5 hashes, so I can determine if they are the same or not.
The problem is that the local file (the file stored in the app ...
1
vote
0answers
19 views
iOS uiwebview is firing finishLoad event before load whole html file
I am loading a static html file on a uiwebview and when webViewDidFinishLoad, I am inserting following javascript to get data contained on a div.
NSString *body = [self.webView1 ...
0
votes
1answer
14 views
How to make a click on TableViewCell open a new view and keep data?
So I've added a UITableView in a UIViewController. I also subclassed its TableViewCells to look like this :
Now I just want to know how I can click on the cells to open a new view with another ...
1
vote
3answers
27 views
How to develop a TabBar based application with a login functionality?
I am developing an application where i need to show a list as a menu(Courses,lessons,grade,logout) to the user. so even before this i need to show a login screen. Only upon successful and valid login ...
0
votes
4answers
13 views
NSTimer periodic task doesn't get called while scrolling
I have an NSTimer
timer = [NSTimer scheduledTimerWithTimeInterval:1
target:self
selector:@selector(periodicTimer)
...
1
vote
2answers
18 views
presentModalViewController gives a black screen
In an alert view method I implemented the following (pretty standard) piece of code for popping a modal view:
else if (buttonIndex == 1) {
EmergencyPlanViewController *emergencyPlanView = ...