I configured my web server to use HTTPS instead of HTTP. I used openssl to generate an X509 certificate and private key. When I connect using FireFox it warns me of an "Untrusted Connection" and allows me to add an exception to continue. When I connect using my iPhone's Safari web browser it does the same thing. I hit accept to the secur...
So I am creating an application where the user can make entries into a UITableView for whatever purpose. I'm using a core data store to store information.
Each entry has a specified time it was entered.
In order to best work with these Entries and filter them for different views of the data, I am trying to ascertain the best way to ha...
I have a view that generates an image based on a series of layers. I have images for the background, for the thumbnail, and finally for an overlay. Together, it makes one cohesive display.
It seems to work a dream, except for when it doesn't. For seemingly no reason, I get an EXC_BAD_ACCESS on the specified line below after it's generat...
In my iPhone app, I have a UIViewController with two subviews: a main UIView (let's call it mainView), and a secondary UIView (let's call it secondView), which is usually hidden but is sometimes shown (e.g. user settings). In my UIViewController, self.view is set to mainView. When the user switches to the subview, I call [self.view addSu...
My current query looks something like this:
SELECT SUBSTR(name,1,1), COUNT(*) FROM files GROUP BY SUBSTR(name,1,1)
But it's taking a pretty long time just to do counts on a table that's already indexed by the name column. I saw from this question that some engines might not use indexes correctly for the SUBSTR function, and in fact, sq...
I have come across an interesting problem which I am unable to debug. My application is using core location services and works fine in both the simulator and on the device once location services are enabled. I have tested it by manually toggling the permission in the settings pane. However for some reason when the user has not set any...
I came across a very subtle issue.
Usually things are okay, but occasionally the current UIviewController has no title. When I call another viewcontroller called via
[[fruitDB navigationController] pushViewController:fruitc animated:YES];
there is no "back" button. The area on the top left of the navigation bar is still active thoug...
I am trying to figure out how to adjust the volume of a movie played with MPMoviePlayerController on the iPhone without using the slider or the volume buttons on the side of the phone. Is it even possible to do this with code in a Apple approved way? I haven't been able to find anything in the APIs that relate to changing or setting th...
ok, so I have custom cells with UISegmentedControl and UILabel
- (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath {
static NSString *MyIdentifier = @"testCell";
UITableViewCell *cell = [tableView dequeueReusableCellWithIdentifier:MyIdentifier];
if (cell == nil) {
[[NSBundle mainB...
Hey all,
I am at a loss. I have an NSDate that gets passed to a UIDatePicker. When I am set to the Eastern time zone, all is fine.
When I am set to Central, the date picker shows the time as being off by 1 hour.
So, if I turn my NSLogs on, this is what I show:
2010-08-25 18:15:19.317[59299:207] ---- into the picker --->2010-08-25 17:3...
Hi,
I'm storing some healthcare data on a mobile phone and I'd like to know what the best system of encryption is, to keep the data secure. It's basically a bunch of model objects, that I'm serializing and storing using NSKeyedArchiver / the equivalent on Blackberry (the name eludes me for now)
Any tips? I don't want to make up securit...
There are some rare data-corruption circumstances where rather than attempt a recovery in the same session, I'd like to perform some fixes and then shutdown the app so the next launch will be safe.
Short of hard crashing the app with something dumb like *(unsigned int *)0 = 0xDEADBEEF, I can't find an API in Cocoa that causes a graceful...
Hello,
What would be the best way to return a float Value from a UITextField ?
I`m using :
(dN being the textField)
[dN floatValue];
but it`s returning :
'UITextField' may not respond to '-floatValue' as a warning
...
Our company is buying me a mac and essentially it is up to me to get what i want.
Will the MAC mini be adequate? I already have 2 22 inch monitors that can possibly hook up to the Mini.
...
I have a simple mp3 playing through AVAudioPlayer and I want to be able to display how much time is left.
I know the answer includes subtracting AVAudioPlayer.duration from AVAudioPlayer.currentTime but I don't know how to implement a function which calculates it while it's playing (like an onEnterFrame in Actionscript I guess). At pre...
I've started learning Objective-C a few weeks ago and I still don't understand how to manage the encapsulation of a class correctly. What is the best way to declare a private member variable in a class?
It seems that setting the right getter/setter for your member variable with "@property" is the right way to go, more than just declarin...
I want to make a button that zooms the content of a html page like in the desktop version of safari. I think I might have to use javascript for this? if thats the case, how can I zoom a page with javascript? in UIWebView
...
I recently implemented iads by following the WWDC video. However, while testing with leaks I found that my ads were leaking. I heard that this is a known problem with iads. Someone mentioned that releasing the banner in viewDidUnload might help but that didn't work for me... Does anyone know any way around these leaks? Even though the...
The max parallel connections in Safari on iPhone4 is 4.
(This URL can test the number of parallel connection count.
http://www.spasche.net/files/parallel_connections/)
In previous OS, the max connection count is 6.
Is there any config of Safari to increase the max connection count?
Any suggestion is helpful, and thanks in advance.
B...
Can anybody help me with adding subview with animation. I want add subview with animation like CATransition, but with this class we have only several different animation type. But i looking for ability implement it's own animation - different part of view appearing in different time.
Maybe there is exists some examples or something els...