- Posts: 24
- Thank you received: 0
Microsoft Windows Phone 8.1 support ends (13 Jul 2017)
Microsoft has ended support for Windows Phone 8.1
Questions about iOS development and PDF
Edit Tool in iOS is different than Android
- [email protected]
- Topic Author
- Offline
- Junior Member
-
Less
More
IP: 192.168.0.71
8 years 2 months ago #13284
by [email protected]
Replied by [email protected] on topic Edit Tool in iOS is different than Android
Hello,
Thank you..i saw beta version sdk but its in objective c. i want in swift 3.. can you provide link for swift 3.
Thank you
Thank you..i saw beta version sdk but its in objective c. i want in swift 3.. can you provide link for swift 3.
Thank you
- [email protected]
- Topic Author
- Offline
- Junior Member
-
Less
More
- Posts: 24
- Thank you received: 0
IP: 192.168.0.71
8 years 2 months ago #13285
by [email protected]
Replied by [email protected] on topic Edit Tool in iOS is different than Android
Hello,
I saw beta version but its in objective c.. i want in swift 3 ..can you please provide link for that.
Thank you,
I saw beta version but its in objective c.. i want in swift 3 ..can you please provide link for that.
Thank you,
IP: 192.168.0.71
8 years 2 months ago #13286
by support
Replied by support on topic Edit Tool in iOS is different than Android
I'm Dario from sales.
Actually we're offering swift not exposing many API.
It's a choice drove by our actual market.
The swift module shares the same sources of Cordova and Xamarin for iOS modules.
We distribute full objective-c sources which you should customize to obtain your own Swift interface so you should be simple for you to merge demo project and swift's framework to obtain the needed result.
Swift module won't be updated until the end of January or first half of February.
Even if aren't planning to introduce new available API it will contain updated UI layout.
Actually we're offering swift not exposing many API.
It's a choice drove by our actual market.
The swift module shares the same sources of Cordova and Xamarin for iOS modules.
We distribute full objective-c sources which you should customize to obtain your own Swift interface so you should be simple for you to merge demo project and swift's framework to obtain the needed result.
Swift module won't be updated until the end of January or first half of February.
Even if aren't planning to introduce new available API it will contain updated UI layout.
- [email protected]
- Topic Author
- Offline
- Junior Member
-
Less
More
- Posts: 24
- Thank you received: 0
IP: 192.168.0.71
8 years 2 months ago #13308
by [email protected]
Replied by [email protected] on topic Edit Tool in iOS is different than Android
Hello Team,
i want to add new icon. how can i add.
let plugin: RadaeePDFPlugin = self.pluginInit()
plugin.setDelegate(self);
let reader = plugin.show(destinationFileUrl.path, withPassword: "")
if (reader != nil) {
self.navigationController?.isNavigationBarHidden = false
let vc: UIViewController = reader as! UIViewController
self.navigationController?.navigationBar.barTintColor = UIColor.white
self.navigationController?.navigationBar.isTranslucent = false;
self.navigationController?.navigationBar.tintColor = UIColor.black
self.navigationController?.pushViewController(vc, animated: true)
let btn1 = UIButton(type: .custom)
btn1.setImage(UIImage(named: "info_icon"), for: .normal)
btn1.frame = CGRect(x: 0, y: 0, width: 30, height: 30)
// btn1.addTarget(self, action: #selector(Class.Methodname), for: .touchUpInside)
let item1 = UIBarButtonItem(customView: btn1)
let btn2 = UIButton(type: .custom)
btn2.setImage(UIImage(named: "info_icon"), for: .normal)
btn2.frame = CGRect(x: 0, y: 0, width: 30, height: 30)
// btn2.addTarget(self, action: #selector(Class.MethodName), for: .touchUpInside)
let item2 = UIBarButtonItem(customView: btn2)
navigationController?.navigationItem.setRightBarButtonItems([item1,item2], animated: true)
self.alert.dismiss(withClickedButtonIndex: -1, animated: true)
} else {
let alert = UIAlertController(title: "Warning", message: "Cannot open the reader, please check the file path", preferredStyle: UIAlertControllerStyle.alert)
alert.addAction(UIAlertAction(title: "OK", style: UIAlertActionStyle.default, handler: nil))
self.present(alert, animated: true, completion: nil)
self.alert.dismiss(withClickedButtonIndex: -1, animated: true)
}
Not works.
Thank you
i want to add new icon. how can i add.
let plugin: RadaeePDFPlugin = self.pluginInit()
plugin.setDelegate(self);
let reader = plugin.show(destinationFileUrl.path, withPassword: "")
if (reader != nil) {
self.navigationController?.isNavigationBarHidden = false
let vc: UIViewController = reader as! UIViewController
self.navigationController?.navigationBar.barTintColor = UIColor.white
self.navigationController?.navigationBar.isTranslucent = false;
self.navigationController?.navigationBar.tintColor = UIColor.black
self.navigationController?.pushViewController(vc, animated: true)
let btn1 = UIButton(type: .custom)
btn1.setImage(UIImage(named: "info_icon"), for: .normal)
btn1.frame = CGRect(x: 0, y: 0, width: 30, height: 30)
// btn1.addTarget(self, action: #selector(Class.Methodname), for: .touchUpInside)
let item1 = UIBarButtonItem(customView: btn1)
let btn2 = UIButton(type: .custom)
btn2.setImage(UIImage(named: "info_icon"), for: .normal)
btn2.frame = CGRect(x: 0, y: 0, width: 30, height: 30)
// btn2.addTarget(self, action: #selector(Class.MethodName), for: .touchUpInside)
let item2 = UIBarButtonItem(customView: btn2)
navigationController?.navigationItem.setRightBarButtonItems([item1,item2], animated: true)
self.alert.dismiss(withClickedButtonIndex: -1, animated: true)
} else {
let alert = UIAlertController(title: "Warning", message: "Cannot open the reader, please check the file path", preferredStyle: UIAlertControllerStyle.alert)
alert.addAction(UIAlertAction(title: "OK", style: UIAlertActionStyle.default, handler: nil))
self.present(alert, animated: true, completion: nil)
self.alert.dismiss(withClickedButtonIndex: -1, animated: true)
}
Not works.
Thank you
IP: 192.168.0.71
8 years 2 months ago #13312
by emanuele
Replied by emanuele on topic Edit Tool in iOS is different than Android
Hi,
if you want to change an existing icon, you can replace it in the icon assets of the Swift project.
If you want to add a new button in reader's toolbar, you have to customize the Obj-C code and create your custom static library to use in Swift.
if you want to change an existing icon, you can replace it in the icon assets of the Swift project.
If you want to add a new button in reader's toolbar, you have to customize the Obj-C code and create your custom static library to use in Swift.
Time to create page: 0.375 seconds