|
NSURLRequest *request = [BNGAccount loginWithUserName:username password:password product:product redirectUrl:[scheme stringByAppendingString:@"://ios.betfair.com/login"] completionBlock:^(NSString *ssoKey, NSError *connectionError, BNGAPIError *apiError) {
if (!connectionError && !apiError && ssoKey.length) {
[APING sharedInstance].ssoKey = ssoKey;
[self getAccountFunds];
} else {
[self logError:@"There was an error while logging in %@ %@" connectionError:connectionError apiError:apiError];
}
}];
|
|
|
|
|
How to call SOAP web service after login in swift.please help me
Thank you
|
|
|
|
|
The iOS app disappears at startup. Consequentially I cannot use it at all. When I double click on the button to see all the active apps I can see a static bitmap (none of the clocks are moving) but if I click on the app to make it the active app it zooms to full screen and then disappears. Help, I need to authenticate but cannot use this app any longer.I have looked for startup video also.
|
|
|
|
|
Have you stepped through the code to isolate where it is "disappearing?"
"One man's wage rise is another man's price increase." - Harold Wilson
"Fireproof doesn't mean the fire will never come. It means when the fire comes that you will be able to withstand it." - Michael Simmons
"You can easily judge the character of a man by how he treats those who can do nothing for him." - James D. Miles
|
|
|
|
|
Don't try that app, search better app.
|
|
|
|
|
Please help me to make an ios app for my website.So is there any free website that will help in making it.
|
|
|
|
|
|
Satbeer Singh wrote: is there any free website that will help in making it. Yes, many, including this one. But it will only help if you make the effort yourself.
|
|
|
|
|
What effort i have to make can u tell.
|
|
|
|
|
Well you could start by doing some research into what is needed to create such an application.
|
|
|
|
|
I have used iTunes extensively for the past couple of years for watching movies and listening to music via Apple Music. I have a pretty big library collection of iTunes. Now that Catalina is coming out, iTunes is being divided into 3 apps. I know I'll get all my music from my iCloud music library from Apple Music once I upgrade to Catalina.
|
|
|
|
|
Seriously ,
There is no such website . I can help you to make ur app in free by guiding you . Your question should be , any iOS Dev doing charity by making free app .
|
|
|
|
|
Then please tell from where i should start.
|
|
|
|
|
Try Mark Price tutorial from udemy..
|
|
|
|
|
There are lots of free tutorials also available in youtube . try them .
|
|
|
|
|
is there something better than yt videos?
|
|
|
|
|
Yeah lots of things, You can read apple documentation. Or you can for udacity , udemy courses
|
|
|
|
|
Satbeer Singh wrote: ...ios app for my website. Does such a thing exist?
"One man's wage rise is another man's price increase." - Harold Wilson
"Fireproof doesn't mean the fire will never come. It means when the fire comes that you will be able to withstand it." - Michael Simmons
"You can easily judge the character of a man by how he treats those who can do nothing for him." - James D. Miles
|
|
|
|
|
i want to use time bar with date in my xamarin iOS app, like scroll type.it's have any plugin or create alternate way. any one please help to me.
|
|
|
|
|
I am working on a countdown timer app that chimes when it reaches 0. I want the timer to recycle after the chime and countdown again until the stop button is pressed. I am a non-programmer that is doing this for fun, I just need some sample code to get over this hurdle. Any assistance would be greatly appreciated.
func counter()
{
seconds -= 1
label.text = String(seconds) + " Seconds"
if (seconds == 0)
{
timer.invalidate()
audioPlayer.play()
}
}
I want the timer to start over automatically after the audioPlayer stops.
modified 27-Jan-17 11:58am.
|
|
|
|
|
This is a case for Google, you need to search for iOS samples. You can also look at the samples here on CodeProject at [^].
|
|
|
|
|
how to change the colour of particular pixel and pixel area covered with the same colour.I am able to get the particular pixel colour using below swift code but I am not able to get surrounding area which has same colour pixel and unable to change it.
import UIKit
class ColorOfImage: UIImageView {
var lastColor:UIColor? = nil
override func touchesEnded(_ touches: Set<UITouch>, with event: UIEvent?) {
if self.isHidden == true {
self.next?.touchesEnded(touches, with: event)
return
}
let touch: UITouch = touches.first!
var point:CGPoint = touch.location(in: self)
self.lastColor = self.getPixelColorAtLocation(point:point)
}
public func createARGBBitmapContext(inImage: CGImage) -> CGContext {
var bitmapByteCount = 0
var bitmapBytesPerRow = 0
let pixelsWide = inImage.width
let pixelsHigh = inImage.height
bitmapBytesPerRow = Int(pixelsWide) * 4
bitmapByteCount = bitmapBytesPerRow * Int(pixelsHigh)
let colorSpace = CGColorSpaceCreateDeviceRGB()
let bitmapData = malloc(bitmapByteCount)
let context = CGContext(data: bitmapData, width: pixelsWide, height: pixelsHigh, bitsPerComponent: 8, bytesPerRow: bitmapBytesPerRow, space: colorSpace, bitmapInfo: CGImageAlphaInfo.premultipliedFirst.rawValue)
return context!
}
public func getPixelColorAtLocation( point:CGPoint) -> UIColor {
var point = point
var context:CGContext? = nil
context = self.createARGBBitmapContext(inImage: (self.image?.cgImage)!)
if context == nil {
return UIColor.white
}
var pixelsWide = (self.image?.cgImage)!.width
var pixelsHigh = (self.image?.cgImage)!.height
var rect = CGRect(x:0, y:0, width:Int(pixelsWide), height:Int(pixelsHigh))
var xScale:CGFloat = CGFloat(pixelsWide)/self.frame.size.width
var yScale:CGFloat = CGFloat(pixelsHigh)/self.frame.size.height
point.x = point.x * xScale
point.y = point.y * yScale
var x:CGFloat = 1.0
if (self.image?.responds(to: #selector(getter: self.image?.scale)))! {
x = ( self.image!.scale)
}
context?.clear(rect)
context?.draw((self.image?.cgImage)!, in: rect)
let data = context?.data
var color:UIColor? = nil
if data != nil {
let dataType = data?.assumingMemoryBound(to: UInt8.self)
let offset = 4*((Int(pixelsWide) * Int(point.y)) + Int(point.x))
let alpha = dataType?[offset]
let red = dataType?[offset+1]
let green = dataType?[offset+2]
let blue = dataType?[offset+3]
color = UIColor(red: CGFloat(red!)/255.0, green: CGFloat(green!)/255.0, blue: CGFloat(blue!)/255.0, alpha: CGFloat(alpha!)/255.0)
}
else
{
}
free(data)
return color!;
}
}
After some research I found one link to clear image like wand tool but that code is for mac can anyone tell me how to use it for ios app
http://losingfight.com/blog/2007/08/28/how-to-implement-a-magic-wand-tool/
or if there is any other code then please help me in changing the same pixel colour which covers particular area in UIImage.
can one please tell me how do use magic wand tools in ios?
modified 30-Jan-17 0:29am.
|
|
|
|
|
I am not an expert in this field But if you find the solution, I am interested
|
|
|
|
|
|
I am not an expert in this field so if you find the solution, I am interested
|
|
|
|