I tried saving markup in DB with no success,, it does not give error, but when i open my db the column that is suppose to store the markup is always empty.
first you should check if the code that you're using to save data is correct (try to save sample data); then use markup getters to save the markup position (I think you can't save directly CGRect type).