iPhone active network type (2G, 3G, WiFi)
Does anyone know how to determine the active network type at the specific moment: 2G, 3G or WiFi. For example, at a specific moment there could be enabled 3G, but the used network type could be 2G. ...
Does anyone know how to determine the active network type at the specific moment: 2G, 3G or WiFi. For example, at a specific moment there could be enabled 3G, but the used network type could be 2G. ...
Hi, I am having a date column in my table and I want to fetch that in iPhone application, I use following method to fetch values: objPlayer.type = sqlite3_column_int(selectstmt, 1); Now I can't find something like sqlite3_column_date. Which is the method I can use for this purpose. ...
Hello I have 2 views, one login and another home. On clicking the signin button in my login view, on successful login, the user is redirected to the home view. Flip transition is implemented to acheive this. The problem is after the flip has occured, the home view layout is not displayed correctly. The view seems to drag itself above a ...
Hi, I have an application with a set of tabs. In one of the tabs I have implemented a table with searchbar feature (lets call this controller A). I have now added a home view to the application, which is laid over the tabController view. I would like to add a searchbar to the home view (let's call this controller B), which is essenti...
In IB I have 2 UIImageViews, 4 UIText, and 1 TabBar. I want to flip the ImageViews and the Texts together without flipping the TabBar. I am using: [UIView beginAnimations:nil context:NULL]; [UIView setAnimationDuration:1]; [UIView setAnimationTransition:UIViewAnimationTransitionFlipFromRight forView:ImgViewNameHere cache:YES]; [UIView ...
I tried both JRSwizzle, and MethodSwizzle. They compile fine on the simulator but throw a bunch of errors when I try to compile for Device (3.x) Has anyone had any luck swizzling on the iphone? Whats the trick? TIA ...
Working in C# and Java, I've seen basically one way everybody initializes singletons: static obj _inst = null; obj getInstance() { if (_inst == null) { _inst = new obj(); } return _inst; } Now, when I move to Objective-C for the iPhone, whenever I see code samples, I see basically the same thing: static obj _inst = nil; +...
I have an iPhone application that reads RSS feeds from a YouTube channel. However, when that view controller loads, it takes forever to load as its downloading a lot of data. How do I make the RSS feed load only several items at a time instead of all at one go? Thanks. ...
Hi I have been all over the place, seems the UITableView with a static background issue is well documented, but no one with a straight forward solution? Im building my TableViews entirely in code, like this: UIViewController *tableViewController = [[TableViewController alloc] init]; navigationController = [[UINavigationController a...
So far I have been creating Web Portal but recently I had a request to convert all the stuff into Mobile Portal. I have created two webparts, when I place single or multiple webparts of same type it looks fine but when I place two different webparts then its UI gets distracted and it looks bad in Blackberry :( The UI is fine with IE Fi...
I'm stuck with this problem, looks like multithreading one but I'm quite new to this kind of topics. I need some help form experts!!! [Problem Conditions] (1) Need to call a method which has 3 arguments, one argument is "@selector( myMethod: )" (2) Need to call (1) for multiple times (3) Need to make sure each of (1)'s selector is don...
Hello all, I am using the following way to set the background of the UITableView. self.tableView.backgroundColor = [UIColor clearColor]; self.parentViewController.view.backgroundColor = [UIColor colorWithPatternImage:[UIImage imageWithData:imageData]]; The image which I want to set as the background is light gray color But the image...
I'm using the MapKit part of the iPhone SDK. According to the MKMapViewDelegate documentation the calloutAccessory event should handle taps on the annotation view. This works just fine as long as the callout view is a UIButton. I've tried to get it to work for a UISegmentedControl but I can't seem to get the event to fire. (void)mapVie...
Is there any way to get the resolution of the iPhone's camera? Apparently the 3G has 1200x1600, and 3GS has 1500x2000, but how do I obtain these values from inside my code (without taking the picture). I need them to make some affine transform to the camera preview. I could detect if it's 3G or 3GS to hardcode these values, but it's jus...
How do I keep a Monotouch iPhone app in landscape mode when loading a new view controller from an xib? To switch to landscape mode when the app loads I use: app.StatusBarOrientation = UIInterfaceOrientation.LandscapeRight; I would like to be able to rotate the view in interface builder and design the interface. I can hit the rotat...
All, I need to create an app for work that signs into our website using SSL and returns our member information. I have figured out how to log in but am not sure how to find the id tags that I want to bring into my app and store to be show in a table view. I know how to do these three things. Put in username and password, authentica...
hi I am showing a pdf in the web view and by default this has been showing in the vertical scroll way ,i just need it in the horizontal way scrollable ,Can it be done using the web view . Thanks ...
Did anyone tried to customize the window in which the quicktime is playing video? If so, can you give me a hint hoe to start implementing something like this. Thank you indeed. UPDATE: Some apps have implemented it. See it here. ...
Hi, I'm creating an iPhone App and am wondering whether Core Data is better for readonly data than a SQLite database. It feels like the SQLite DB is the better choice, is that right? Can I even pre-fill the Core Data storage? Basically, I need like 3 tables with a bunch (up to 3000) of entities each. I then want to list the data in Tabl...
I would like to know how to get the cursor position coordinates in UITextView. To be clear, I know how to get the cursor position in the string that is currently dislayed using selectedRange property. I want to get the (x,y) coordinates relative to the view. This feature is available in java, .net etc... so I don't understand why it i...